Questions tagged [zopfli]

Related to making use of the zopfli compression algorithm, for example to save bandwidth or storage space when distributing rarely-changing files.

Zopfli Compression Algorithm is a compression library programmed in C to perform very good, but slow, deflate or zlib compression. https://github.com/google/zopfli

9 questions
5
votes
1 answer

Running zipalign with zopfli recompression after building APK from command line to make it smaller

As mentioned in Google Developers' article, it is now possible to recompress APK files using zopfli by running zipalign -z. In my case, a 200 KB reduction is observed on a 5.1 MB APK file. Normally I build the APK using a custom shell script, by…
Randy Sugianto 'Yuku'
  • 71,383
  • 57
  • 178
  • 228
4
votes
2 answers

PNG format images do not display on Mac Safari

Images from our website do not display in Safari for some Mac users and they report seeing either no image or a black image. Here is an example: http://s3-eu-west-2.amazonaws.com/bp18.boxcleverpress.com/Boxclever_logo_chartreuse.png What I have…
Kevin Sadler
  • 2,306
  • 25
  • 33
1
vote
2 answers

How to Inflate a png compressed by zopfli

I compressed a png file using ImageOptim. I used the Zopfli as the method of compressing. ImageOptim guarantees that it's a lossless compression. Truly my png size has reduced, but how can i decompress it back to the original size? I read about…
1
vote
0 answers

How to verify apk has compress with zopfli or not

I use buildToolsVersion 26.0.3 with android studio 3.0.1 to generate signed apk how to verify that the apk is compress with zopfli or not ? how to disable zopfli compress when execute zipalign in android studio ?
steven274
  • 3,321
  • 2
  • 10
  • 11
1
vote
0 answers

Run Zopfli on middleman after build

We have a Middleman setup, and after is finishes parsing our assets, we want it to compress them using Zopfli. We have tried adding a Node post-process, using the app.after_build hook, but when we run it, we get a 'run node-zopfli from "."' This is…
FrontBoy
  • 11
  • 2
1
vote
0 answers

No difference in size of my apk with cruncherEnabled option disbled

I'm trying to reduce the size of my apk. So first I've compressed my pngs with zopfli then added aaptOptions { cruncherEnabled=false } in my build.gradle (app) and built. But the result is same with and without that option (gradle version…
sam
  • 11
  • 2
0
votes
1 answer

How to decompress an object compressed by zlib in JavaScript?

In JavaScript project, I want to decompress an object compressed by zlib(Zopfli.js) and I'm trying it with pako.min.js. However, the example at the official site of pako uses require function which does not exist in JavaScript. Maybe Node.js has…
ten
  • 713
  • 1
  • 3
  • 12
0
votes
1 answer

Improve compression ratio via zopfli

1) I have seen improvement in the compression ratio for gzip using zopfli. However, the again seems to limited by approximately 5%. Is there any mechanism by which compression ratio can be further improved. Are there any configuration parameters…
Shailender Jain
  • 25
  • 1
  • 14
0
votes
1 answer

Including another deflate to ZopfliPNG

I'm currently studying programmation and I'm trying to add This library to ZopfliPNG. I would like to use it instead of Zopfli. I tried to change to this but it's not working : unsigned CustomPNGDeflate(unsigned char** out, size_t* outsize, …