google / guetzli

Perceptual JPEG encoder
Apache License 2.0
12.92k stars 976 forks source link

An inquiry about the maximum size a Guetzli image #244

Closed amughrabi closed 6 years ago

amughrabi commented 6 years ago

I wish to have an answer about the maximum pixel dimensions of a Guetzli image; for instance, what is the maximum image width and height (W x H) for the source image before calling it via command line?

kornelski commented 6 years ago

Probably the same as limits of JPEG in general (65kx65k), but it will require 1200GB of memory and take 70 hours to compress.

amughrabi commented 6 years ago

but it will require 1200GB of memory and take 70 hours to compress.

Oh, this totally will kill the server in terms the server do some processes in parallel. For the Web development, I feel 16383 x 16383 pixels as Webp definition will be good: https://developers.google.com/speed/webp/faq#what_is_the_maximum_size_a_webp_image_can_be

Is there a recommendation for the minimum dimensions for the input image?

kornelski commented 6 years ago

Minimum is 1x1. Smallest that makes sense is 8x8.

amughrabi commented 6 years ago

Yes, it makes sense! Thanks, @kornelski!