Changeset 13857
- Timestamp:
- 03/28/2010 02:57:09 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r13827 r13857 372 372 373 373 // convert from full colors to index colors, like original PNG. 374 if ( IMAGETYPE_PNG == $orig_type && !imageistruecolor( $image ) )374 if ( IMAGETYPE_PNG == $orig_type && function_exists('imageistruecolor') && !imageistruecolor( $image ) ) 375 375 imagetruecolortopalette( $newimage, false, imagecolorstotal( $image ) ); 376 376
Note: See TracChangeset
for help on using the changeset viewer.