Bug 236318 - Gwenview produces white noise pictures when cropping big images (about 1900x1200)
Summary: Gwenview produces white noise pictures when cropping big images (about 1900x1...
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-04 14:33 UTC by Wolfram
Modified: 2012-10-19 13:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Big png image inside gwenview (470.00 KB, image/png)
2010-05-04 14:34 UTC, Wolfram
Details
Broken image after cropping (394.50 KB, image/jpeg)
2010-05-04 14:35 UTC, Wolfram
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram 2010-05-04 14:33:34 UTC
Version:           2.4.2 (using 4.4.2 (KDE 4.4.2), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.33-gentoo-r1-00

When I'm cropping any big png image (1900x1200 for example), gwenview makes white noise alike result picture.
Comment 1 Wolfram 2010-05-04 14:34:22 UTC
Created attachment 43232 [details]
Big png image inside gwenview
Comment 2 Wolfram 2010-05-04 14:35:51 UTC
Created attachment 43233 [details]
Broken image after cropping
Comment 3 Drake Justice 2010-05-05 20:34:07 UTC
cant reproduce :/

KUbuntu/9.10/KDE SC 4.4.3

even 2000x2000+ sized pngs crop correctly
Comment 4 Wolfram 2010-05-07 19:42:11 UTC
So, I've updated KDE to 4.4.3 and tried again.
Bug still remains.

But I've investigated one interesting detail: performing picture resize before cropping makes result picture correct. Even when I resize picture for one pixel, cropping gives good result.
Comment 5 Matthias Fuchs 2011-01-26 23:33:20 UTC
SVN commit 1217378 by mfuchs:

Cropping pictures that use a small palette (e.g. 256 entries) works now.
QImage::copy(QRect) also preserves the EXIF-Tag.
BUG:257590
BUG:236318
BUG:250473
CCBUG:203109

 M  +2 -7      cropimageoperation.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1217378
Comment 6 Matthias Fuchs 2011-01-26 23:37:00 UTC
SVN commit 1217379 by mfuchs:

Backport r1217378
Cropping pictures that use a small palette (e.g. 256 entries) works now.
QImage::copy(QRect) also preserves the EXIF-Tag.
CCBUG:257590
CCBUG:236318
CCBUG:250473
CCBUG:203109

 M  +2 -7      cropimageoperation.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1217379