Re: [Calligra] 0f7fe6d Fix: inserting jpg image that are bigger than 90k

Boudewijn Rempt <[email protected]> Wed, 22 Dec 2010 16:06:15 +0100
Newsgroups gmane.comp.kde.devel.koffice
Organization valdyas
Message-ID <[email protected]>
On Wednesday 22 December 2010, Cyrille Berger wrote:
> commit 0f7fe6dd74c6c78b4e53e9b76c5a96155aeb9241
> branch master
> Author: Cyrille Berger <[email protected]>
> Date:   Wed Dec 22 15:53:29 2010 +0100
> 
>     Fix: inserting jpg image that are bigger than 90k
>     
>     Details: when the image is too big, it is saved in a temporary files as-is (meaning raw jpeg data), but the "suffix" is set to "png", and then when loading from the temporary file we force-load as "png", the patch let Qt auto detect the image type
>     
>     This should probably be backport to koffice/2.3

Looks like a good fix indeed.

-- 
Boudewijn Rempt | http://www.valdyas.org, http://www.krita.org