Commit bba7d1e0 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

use gimp_pixel_rgn_set_row() to set a single row of pixels.

2007-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff-load.c (load_rgba): use
	gimp_pixel_rgn_set_row() to set a single row of pixels.

svn path=/trunk/; revision=23680
parent f5caeaf0
2007-09-28 Sven Neumann <sven@gimp.org>
* plug-ins/common/tiff-load.c (load_rgba): use
gimp_pixel_rgn_set_row() to set a single row of pixels.
2007-09-28 Sven Neumann <sven@gimp.org>
* data/images/gimp-splash.png: fixed typo.
......@@ -1136,9 +1136,10 @@ load_rgba (TIFF *tif,
for (i = rowStart; i < rowEnd; i++)
buffer[i] = GUINT32_TO_LE (buffer[i]);
#endif
gimp_pixel_rgn_set_rect (&(channel[0].pixel_rgn),
channel[0].pixels + row * imageWidth * 4,
0, imageLength -row -1, imageWidth, 1);
gimp_pixel_rgn_set_row (&(channel[0].pixel_rgn),
channel[0].pixels + row * imageWidth * 4,
0, imageLength -row -1, imageWidth);
if ((row % 32) == 0)
gimp_progress_update ((gdouble) row / (gdouble) imageLength);
......
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