[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#741487: mozjpeg 2.1 package



On 2016-11-21 20:48, Pierre Rudloff wrote:
>> Hello Pierre,
>>
>> Could you please share the mozjpeg Debian package sources (with debian/control,
>> ... files)? For example as a branch in github? That will simplify creating a
>> package to play with for me.
>>
>> Also I wonder what exactly the conflict with the standard libjpeg leads to. Does
>> it mean that if mozjpeg is installed to /usr/local subtree it will interfere
>> with software that uses libjpeg?
>>
>> Many thanks in advance!
>>
> Hello,
> 
> Sorry, I don't have the source anymore (and it has been removed from mentors) but it is pretty easy to build.
> 
> IIRC mozjpeg installs its own libjpeg.so library so it can't be installed alongside upstream libjpeg.

Many thanks for the information!

The question is: if I need to install mozjpeg together with libjpeg, what are the
options? Do I need to change the prefix to /usr/local for mozjpeg, and then use

$ LD_PRELOAD=/usr/local/lib/libjpeg.so jpegtran -copy all <from.jpg> <to.jpg>

? How have you played with it?

Also if I may ask you, what options are meant to be for maximum compression? I see
that "-optimize" and "-arithmetic" are mutually exclusive... I would assume that
compression should have a mode "try all possible".

P.S. Just discovered that non of modern browsers support arithmetic-encoded JPEGs

https://bugzilla.mozilla.org/show_bug.cgi?id=680385

which makes "-arithmetic" option non-attractive.

-- 
With best regards,
Dmitry


Reply to: