gimp r22359 - in trunk: . app/core



Author: neo
Date: 2007-04-27 17:07:49 +0100 (Fri, 27 Apr 2007)
New Revision: 22359
ViewCVS link: http://svn.gnome.org/viewcvs/gimp?rev=22359&view=rev

Modified:
   trunk/ChangeLog
   trunk/app/core/gimpdrawable.c
   trunk/app/core/gimpimage-crop.c
   trunk/app/core/gimpimagemap.c
   trunk/app/core/gimppickable.c
   trunk/app/core/gimppickable.h
   trunk/app/core/gimpprojection.c
Log:
2007-04-27  Sven Neumann  <sven gimp org>

	* app/core/gimppickable.[ch]: added get_pixel_at() method to the
	GimpPickable interface. This gives direct access to the pixel
	without converting it to an RGB color.

	* app/core/gimpdrawable.c
	* app/core/gimpimagemap.c
	* app/core/gimpprojection.c: implement the new method and also use
	it to reimplement get_color_at().

	* app/core/gimpimage-crop.c (gimp_image_crop_guess_bgcolor): use
	gimp_pickable_get_pixel_at(). Fixes auto-shrink on indexed and
	grayscale images.





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