]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[image] Allow access to the internal image buffer
authorCharlie Brej <cbrej@cs.man.ac.uk>
Sun, 18 Apr 2010 18:22:49 +0000 (19:22 +0100)
committerCharlie Brej <cbrej@cs.man.ac.uk>
Sun, 18 Apr 2010 18:22:49 +0000 (19:22 +0100)
Adds ply_image_convert_get_buffer to get the image buffer without destroying
the image.

src/libply-splash-graphics/ply-image.h

index a5fa33b7ab107f53dc6a239dfc36509951c01b2a..1ef6231a7e9fe3237a14d6dd0908662d4862a5ca 100644 (file)
@@ -39,6 +39,7 @@ long ply_image_get_width (ply_image_t *image);
 long ply_image_get_height (ply_image_t *image);
 ply_image_t *ply_image_resize (ply_image_t *image, long width, long height);
 ply_image_t *ply_image_rotate (ply_image_t *oldimage, long center_x, long center_y, double theta_offset);
+ply_pixel_buffer_t *ply_image_convert_get_buffer (ply_image_t *image);
 ply_pixel_buffer_t *ply_image_convert_to_pixel_buffer (ply_image_t *image);
 
 #endif