]> git.eshelyaron.com Git - emacs.git/commit
(four_corners_best): New arg CORNERS specifies what pixels
authorKim F. Storm <storm@cua.dk>
Fri, 21 Apr 2006 14:07:05 +0000 (14:07 +0000)
committerKim F. Storm <storm@cua.dk>
Fri, 21 Apr 2006 14:07:05 +0000 (14:07 +0000)
commit6ac3c7bb025ec4b37ca61c632c05d479cbfb6eb2
treefd108f706bda4ac088465a4de7f1b32da19a236b
parent7b48cc1354a2efff9fb528c1b3c78f47d001178e
(four_corners_best): New arg CORNERS specifies what pixels
to look at in case image has margin.
(x_create_bitmap_mask): Pass NULL for CORNERS to four_corners_best.
(image_background, image_background_transparent)
(x_build_heuristic_mask): Pass img->corners to four_corners_best.
(gif_load): Set img->corners according to image's margin spec.
Use img->corners values directly where applicable.
Save image extension data in img->data.lisp_val.
(gif_clear_image): New function to free img->data.lisp_val.
(gif_type): Use it instead of generic x_clear_image.
(Fimage_extension_data): New defun.
(syms_of_image): Defsubr it.
src/image.c