comparison win/dw.c @ 1255:363d859e8372

Fixed GDI+ loading files with no extension needed. Fixed the *_from_data() functions. Since the temporary file has no extension... it should try with no extension first. Also updated the readme with the GDI+ support.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 24 Oct 2011 06:29:05 +0000
parents 575663435272
children 51892bf7fe01
comparison
equal deleted inserted replaced
1254:8ac9fc1ed779 1255:363d859e8372
372 /* 372 /*
373 * List those icons that have transparency first 373 * List those icons that have transparency first
374 * GDI+ List of supported formats: BMP, ICON, GIF, JPEG, Exif, PNG, TIFF, WMF, and EMF. 374 * GDI+ List of supported formats: BMP, ICON, GIF, JPEG, Exif, PNG, TIFF, WMF, and EMF.
375 * Not sure if we should include all these or not... maybe we should add TIFF and GIF? 375 * Not sure if we should include all these or not... maybe we should add TIFF and GIF?
376 */ 376 */
377 #define NUM_EXTS 7 377 #define NUM_EXTS 8
378 char *image_exts[NUM_EXTS] = 378 char *image_exts[NUM_EXTS] =
379 { 379 {
380 "",
380 ".png", 381 ".png",
381 ".ico", 382 ".ico",
382 ".gif", 383 ".gif",
383 ".jpg", 384 ".jpg",
384 ".jpeg", 385 ".jpeg",