tbowers / aforge

Automatically exported from code.google.com/p/aforge
0 stars 0 forks source link

HueModifier does not work with 32bpp images #178

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use HueModifier with 24bpp it works as expected
2. use HueModifier with 32bpp and get barred effect across first third of image

Cause is because in code you use an offset of 3 for 32bpp images as well as for 
24bpp images. It is correct for 24bpp, since each pixel is made up of 3 bytes. 
It should be 4 for 32bpp images.

Original issue reported on code.google.com by john.wha...@av.com.au on 14 Dec 2010 at 3:22

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 10 Jan 2011 at 4:03

GoogleCodeExporter commented 8 years ago
Fixed HueModifier image processing routine to process correctly 32 bpp images 
(using correct pixel size value).

Committed in revision 1373. Will be released in version 2.1.5.

Original comment by andrew.k...@gmail.com on 10 Jan 2011 at 4:09

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 12 Jan 2011 at 11:46