summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bindat.el
diff options
context:
space:
mode:
authorJan D <jan.h.d@swipnet.se>2015-04-12 13:42:42 +0200
committerJan D <jan.h.d@swipnet.se>2015-04-12 13:42:42 +0200
commitc744c8a8fc2ddea0f3e7d510f1a3c98876c51c05 (patch)
tree414429ce9272b43cdeb3b23e5aef41e39d538deb /lisp/emacs-lisp/bindat.el
parentac00e0a0bf4aac5b2443a7651853f3812251047f (diff)
downloademacs-c744c8a8fc2ddea0f3e7d510f1a3c98876c51c05.tar.gz
emacs-c744c8a8fc2ddea0f3e7d510f1a3c98876c51c05.tar.bz2
emacs-c744c8a8fc2ddea0f3e7d510f1a3c98876c51c05.zip
Handle specified bg in images. Use generic libpng code for PNG:s.
* src/image.c (get_spec_bg_or_alpha_as_argb) (create_cairo_image_surface): New functions when USE_CAIRO. (xpm_load): Call the above functions. Handle XPM without mask when USE_CAIRO. (png_load_body): Handle USE_CAIRO case. (png_load): Remove USE_CAIRO specific fuction, modify png_load_body instead. (jpeg_load_body): Call create_cairo_image_surface. (gif_load, svg_load_image): Handle specified background, call create_cairo_image_surface. * src/xterm.c (x_draw_image_glyph_string): Added missing USE_CAIRO.
Diffstat (limited to 'lisp/emacs-lisp/bindat.el')
0 files changed, 0 insertions, 0 deletions