Commit 9c1cf7dc authored by claes's avatar claes

png-files didn't work

parent 5c94b4ff
/*
* Proview $Id: cnv_image.cpp,v 1.5 2007-01-17 13:44:51 claes Exp $
* Proview $Id: cnv_image.cpp,v 1.6 2008-10-16 11:06:09 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -164,6 +164,8 @@ void cnv_image_pixel_iter( cnv_tImImage image,
for ( int i = 0; i < rgb_width; i++) {
if ( n_channels >= 4 && *(rgb+3))
(pixel_cb) ( userdata, fp, rgb);
else if ( n_channels == 3)
(pixel_cb) ( userdata, fp, rgb);
rgb += n_channels;
}
rgb_row += rowstride;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment