In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
601 [In-Portal CMS] Other bug report always 2010-03-13 18:37 2010-06-10 13:44
Dmitry  
alex  
normal  
closed 5.0.2  
fixed  
 
none 5.0.4-B1  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/535bc979f699228b
0
0000601: PNG image transparency lost during crop/fill operations
PNG image transparency lost during crop/fill operations resulting transparent color conversion to black color. Patches attached.

Here are some details. When cropped size is larger, then given image, then image is not enlarger (to preserve it's quality) and larger canvas image is created to place source image on it. Source image was containing alpha-channel information, but created canvas wasn't. When merged together alpha-channel information was totally lost and what was transparent in source image became black in target cropped image.
patch transparency_lost_during_crop.patch (3,369) 2010-03-13 18:37
http://tracker.in-portal.org/file_download.php?file_id=351&type=bug
Issue History
2010-06-10 13:44 alex Note Added: 0002427
2010-06-10 13:44 alex Status resolved => closed
2010-05-11 04:12 alex Note Added: 0002186
2010-05-11 04:12 alex Status reviewed and tested => resolved
2010-05-11 04:12 alex Fixed in Version => 5.0.4-B1
2010-05-11 04:12 alex Resolution open => fixed
2010-05-11 04:12 alex Assigned To !COMMUNITY => alex
2010-05-11 04:12 alex Changeset attached 5.0.x r13534
2010-04-04 23:11 Dmitry Note Added: 0001789
2010-04-04 23:11 Dmitry Status needs testing => reviewed and tested
2010-03-14 06:39 alex Assigned To => !COMMUNITY
2010-03-14 06:39 alex Developer => alex
2010-03-14 06:39 alex Status active => needs testing
2010-03-14 06:39 alex Reference Google Groups http://groups.google.com/group/in-portal-bugs/browse_thread/thread/535bc979f699228b => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/535bc979f699228b
2010-03-14 06:39 alex Target Version 5.0.2 => 5.0.4
2010-03-13 18:37 Dmitry New Issue
2010-03-13 18:37 Dmitry File Added: transparency_lost_during_crop.patch
2010-03-13 18:37 Dmitry Reference => Google Groups http://groups.google.com/group/in-portal-bugs/browse_thread/thread/535bc979f699228b

Notes
(0001789)
Dmitry   
2010-04-04 23:11   
Patch tested - Good work!

Tested all images types to make sure nothing is broken too!
(0002186)
alex   
2010-05-11 04:12   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000601: PNG image transparency lost during crop/fill operations
(0002427)
alex   
2010-06-10 13:44   
Closing since version 5.0.4 is released.