Re: [Gimp-developer] Screenshot plug-in status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Henrik Brix Andersen writes:
 > Using gimp_pixel_rgn_set_row() may work for some images, but since
 > GdkPixbufs internally have aligned data which may result in padding
 > garbage inserted between two rows, you will need to use
 > gdk_pixbuf_get_rowstride() and iterate over the rows one by one.

But couldn't one at least check if gdk_pixbuf_get_rowstride()
indicates that there isn't any padding, and in that case use
gimp_pixel_rgn_set_rect()? At least on my aging PIII-450, the
difference in speed is huge.

 > Unfortunately this doesn't seem to be possible. Believe me, I've tried
 > :(.

OK, I believe you...

--tml



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux