1. 28 Oct, 1999 1 commit
  2. 27 Oct, 1999 2 commits
    • Federico Mena Quintero's avatar
      New function to threshold a pixbuf's alpha channel into a bitmap. · 0eb09633
      Federico Mena Quintero authored
      1999-10-27  Federico Mena Quintero  <federico@redhat.com>
      
      	* src/gdk-pixbuf-render.c (gdk_pixbuf_render_threshold_alpha): New
      	function to threshold a pixbuf's alpha channel into a bitmap.
      
      	* src/gdk-pixbuf.c (gdk_pixbuf_new): Fixed so that it will
      	contemplate future extensions to ArtPixBuf's formats.
      
      	* src/io-png.c (png_info_callback): Use the new API of gdk_pixbuf_new().
      
      	* src/gdk-pixbuf.h (gdk_pixbuf_get_height): Added some convenience
      	macros to fetch the ArtPixBuf's fields.
      0eb09633
    • Havoc Pennington's avatar
      New function to create a blank pixbuf. · 1a0a5d03
      Havoc Pennington authored
      1999-10-27  Havoc Pennington  <hp@pobox.com>
      
      * src/gdk-pixbuf.c (gdk_pixbuf_new): New function to create a
      blank pixbuf.
      
      * src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Check all
      three progressive load funcs are non-NULL, rather than checking
      begin_load three times. Also, check whether begin_load returns
      NULL on failure.
      1a0a5d03
  3. 26 Oct, 1999 1 commit
  4. 22 Oct, 1999 1 commit
  5. 20 Oct, 1999 1 commit
    • Federico Mena Quintero's avatar
      Removed the unref_fn field. Now all memory management of the buffer is · 7ef5dec3
      Federico Mena Quintero authored
      1999-10-20  Federico Mena Quintero  <federico@redhat.com>
      
      	* src/gdk-pixbuf.h (GdkPixbuf): Removed the unref_fn field.  Now
      	all memory management of the buffer is done by libart.
      
      	* src/gdk-pixbuf.c (gdk_pixbuf_unref): Do destruction here.
      	Removed gdk_pixbuf_destroy, gdk_pixbuf_duplicate.
      
      	* src/gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Implemented in
      	terms of the libart functions.  Removed the old code.
      
      	* src/gdk-pixbuf-io.c (image_handler_load): Removed the save
      	symbols.  Saving will not be implemented in GdkPixbuf.
      
      	* src/io-gif.c: Removed the saving stub.
      	(image_load): Fixed memory management to fail gracefully if we run
      	out of memory while loading the image.  Close the gif file when we
      	are done.  This still needs more error handling for the DGif
      	functions.
      
      	* src/io-jpeg.c (image_load): Some robustness fixes.
      
      	* src/io-png.c: Removed the saving stuff.
      	(image_load): Some memory management fixes.
      
      	* src/io-tiff.c (image_load): Ditto.
      
      	* src/io-xpm.c (pixbuf_create_from_xpm): Ditto.
      7ef5dec3
  6. 18 Oct, 1999 1 commit
  7. 08 Oct, 1999 1 commit
  8. 22 Sep, 1999 1 commit
  9. 24 Jul, 1999 1 commit
  10. 19 Jul, 1999 1 commit
    • Mark Crichton's avatar
      Ok minor changes. · 6423183a
      Mark Crichton authored
      
      
      Ok minor changes.
      
      No longer make a version.h, and cleaned up some code here and there, and added
      a quickie dirty-hack rotation function.  However, it rotates at the origin.
      Is this what we want?  Or do we want a rotate w.r.t. the center of the pixbuf?
      
      Anyone.
      
      Mark
      6423183a
  11. 16 Jul, 1999 1 commit
  12. 05 Jan, 1999 1 commit
  13. 04 Jan, 1999 1 commit