tommyettinger / pngcs

Read/write (big) PNG files with C#
http://code.google.com/p/pngcs
Other
22 stars 9 forks source link

ImageLineHelper.ToARGB8 #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ImageLineHelper?.cs in methods ToARGB8(int, int, bool) and ToARGB8(byte, int, 
bool): The expressions with and without the alpha channel seems to be 
exchanged, so it doesn't return the alpha channel for alpha channel images and 
give IndexOutOfRangeException? for non-alpha images when you try to get the 
last pixel of the line.

Reported in comments
https://code.google.com/p/pngcs/wiki/Comments

Original issue reported on code.google.com by hgonzalez@gmail.com on 5 Jul 2013 at 2:54

GoogleCodeExporter commented 9 years ago

Original comment by hjg.com.ar@gmail.com on 29 Jul 2013 at 12:10

GoogleCodeExporter commented 9 years ago
Fixed. commit 30cbc5c

Original comment by hjg.com.ar@gmail.com on 29 Jul 2013 at 12:16