View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0013266||Lazarus||LCL||public||2009-03-02 15:42||2011-12-01 11:23|
|Reporter||R.D.||Assigned To||Marc Weustink|
|Product Version||0.9.27 (SVN)|
|Target Version||1.0.0||Fixed in Version||0.9.29 (SVN)|
|Summary||0013266: Improper painting of PNG picture|
|Description||loading png picture in Example\imgview, and it painting incorrect|
|Tags||No tags attached.|
|Fixed in Revision||r25258|
||What a strange file ! it looks differently in any program I use : in paint, in firefox in infranview - in each image is different!|
The image is transparent, you might see a different background.
Nice image btw, i'll add it to my testset
With today's version on win32 with example project imgview it looks like this. (see upload imgview_dragon.gif).
Some how it looks like the negative of the original example.
I've seen under qt that png's looks strange (more lighter than it should be).
My png's are usual kde icons (16x16) in TImageList.
There are 2 bugs involved. When an rawimage was read as grayscale, the alpha channels was discarded by the LazIntfImage. I fixed that.
The second bug is fpimage related. When reading gray+alpha, then channels are swapped, so you get alpha+gray that gives the inverted look. I'll try to fix this
||The next lazarus version will depend on new fpc version. So it is ok to depend your future fix.|
||You also need a fpc version later than 2.4.0|
|2009-03-02 15:42||R.D.||New Issue|
|2009-03-02 15:42||R.D.||File Added: Dragon.png|
|2009-03-02 15:42||R.D.||Widgetset||=> Win32|
|2009-04-16 13:57||Vincent Snijders||LazTarget||=> 1.0|
|2009-04-16 13:57||Vincent Snijders||Status||new => acknowledged|
|2009-04-16 13:57||Vincent Snijders||Target Version||=> 1.0.0|
|2009-05-04 22:05||Boguslaw Brandys||Note Added: 0027299|
|2009-05-05 10:59||Marc Weustink||Note Added: 0027318|
|2009-05-05 11:00||Marc Weustink||Note Edited: 0027318|
|2009-07-17 22:04||samuel herzog||File Added: imgview_dragon.gif|
|2009-07-17 22:06||samuel herzog||Note Added: 0029154|
|2010-05-02 16:49||Marc Weustink||Status||acknowledged => assigned|
|2010-05-02 16:49||Marc Weustink||Assigned To||=> Marc Weustink|
|2010-05-02 19:33||Zeljan Rikalo||Note Added: 0037171|
|2010-05-07 02:25||Marc Weustink||Note Added: 0037337|
|2010-05-07 02:26||Marc Weustink||Note Edited: 0037337|
|2010-05-07 05:45||Paul Ishenin||Note Added: 0037341|
|2010-05-08 20:03||Marc Weustink||Fixed in Revision||=> r25258|
|2010-05-08 20:03||Marc Weustink||Widgetset||Win32/Win64 =>|
|2010-05-08 20:03||Marc Weustink||Status||assigned => resolved|
|2010-05-08 20:03||Marc Weustink||Fixed in Version||=> 0.9.29 (SVN)|
|2010-05-08 20:03||Marc Weustink||Resolution||open => fixed|
|2010-05-08 20:03||Marc Weustink||Note Added: 0037371|
|2011-12-01 11:23||Marc Weustink||Status||resolved => closed|