1. 07 Jan, 2004 2 commits
    • Matthias Clasen's avatar
      New public API to save pixbufs to non-file locations. (#82203, Tim Evans) · e7b62f2a
      Matthias Clasen authored
      Wed Jan  7 02:41:14 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_save_to_bufferv):
      	* gdk-pixbuf-io.c (gdk_pixbuf_save_to_buffer):
      	* gdk-pixbuf-io.c (gdk_pixbuf_save_to_callbackv):
      	* gdk-pixbuf-io.c (gdk_pixbuf_save_to_callback): New public API
      	to save pixbufs to non-file locations.  (#82203, Tim Evans)
      
      	* gdk-pixbuf.h:
      	* gdk_pixbuf.def: Declare the new public API.
      
      	* gdk-pixbuf-io.h: Add save_to_callback to the module interface.
      
      	* io-jpeg.c:
      	* io-png.c: Implement save_to_callback.
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_savev):
      	* gdk-pixbuf-io.c (gdk_pixbuf_save): Update documentation.
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_real_save): Support saving via
      	image_module->save_to_callback.
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_real_save_to_callback): New generic
      	save_to_callback function which falls back to image_module->save
      	on a temp file.
      e7b62f2a
    • Matthias Clasen's avatar
      Make it possible to call gdk_pixbuf_loader_set_size (loader, 0, 0) by · 8b6950ae
      Matthias Clasen authored
      Wed Jan  7 01:17:36 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_size_func):
      	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_set_size):
      	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_init): Make it possible
      	to call gdk_pixbuf_loader_set_size (loader, 0, 0) by changing
      	the initial values of priv->width/height to -1.
      
      	* io-tiff.c (tiff_image_parse):
      	* io-ras.c (RAS2State):
      	* io-pnm.c (gdk_pixbuf__pnm_image_load_increment):
      	* io-pcx.c (gdk_pixbuf__pcx_load_increment):
      	* io-jpeg.c (gdk_pixbuf__jpeg_image_load_increment):
      	* io-png.c (png_info_callback):
      	* io-ico.c (DecodeHeader):
      	* io-bmp.c (DecodeHeader): Call size_func once the size is known,
      	even if the module can't make use of the scaling information. If
      	size_func returns 0, don't allocate a pixbuf and return, if
      	necessary with an error.
      
      	* gdk-pixbuf.h:
      	* gdk-pixbuf-io.c (gdk_pixbuf_get_file_info): A new function
      	to determine the type and size of an image file without loading
      	it completely.  (#53725)
      8b6950ae
  2. 06 Jan, 2004 2 commits
  3. 05 Jan, 2004 2 commits
  4. 04 Jan, 2004 3 commits
  5. 03 Jan, 2004 3 commits
  6. 02 Jan, 2004 5 commits
  7. 01 Jan, 2004 7 commits
  8. 31 Dec, 2003 3 commits
  9. 30 Dec, 2003 2 commits
  10. 29 Dec, 2003 2 commits
  11. 28 Dec, 2003 2 commits
  12. 26 Dec, 2003 1 commit
  13. 25 Dec, 2003 2 commits
  14. 23 Dec, 2003 1 commit
  15. 22 Dec, 2003 3 commits