mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Remove whitespace at end of lines
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
a0ddf0b5f2
commit
6f237b6bf0
@@ -103,7 +103,7 @@ print_pixel(png_structp png_ptr, png_infop info_ptr, png_const_bytep row,
|
||||
index < num_trans ? trans_alpha[index] : 255);
|
||||
|
||||
else /* no transparency */
|
||||
printf("INDEXED %u = %d %d %d\n", index,
|
||||
printf("INDEXED %u = %d %d %d\n", index,
|
||||
palette[index].red, palette[index].green,
|
||||
palette[index].blue);
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ int main(int argc, const char **argv)
|
||||
if (png_image_begin_read_from_file(&image, argv[1]))
|
||||
{
|
||||
png_bytep buffer;
|
||||
|
||||
|
||||
/* Change this to try different formats! */
|
||||
image.format = PNG_FORMAT_RGBA;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user