Code Monkey home page Code Monkey logo

compress's People

Contributors

fossabot avatar mitmelon avatar ruthbri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

compress's Issues

Decompressed content show PHP serialization element

I think this line introduces a string element in the compressed contents

$content = $this->compressor(serialize($content));

The issue is that appears in the decompressed contents, check the s:13517102" at the beginning and the "; at the end of the uncompressed content that makes the output different from the input.

Screenshot_2023-11-01_13-50-15

Screenshot_2023-11-01_13-50-48

Is the serialize() needed there?

Note: the decompress from this library doesn't seem to show that extra data, but an independent tool was used to decompress for verification https://unix.stackexchange.com/questions/22834/how-to-uncompress-zlib-data-in-unix/240060#240060

Decompressed file is truncated to 100MB

Hi, I'm checking some large files I'm compressing using this library. I have 800+MB files and the compressed one is about 60MB which seemed OK. Then I use the zlib-flate command to uncompress (https://www.mankier.com/1/zlib-flate) and I get a 100MB file back, which is a truncated version of the original 800+MB file.

I did the test of using zlib-flate to compress and uncompress and I'm getting the same file back, so I think there is something with the compress step from this library that might be cutting the data at 100MB.

Is that possible?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.