Hi,
I generated a phpThumb image via this code:
This will resize it to a 118x158 gif with rounded corners...
What does this have to do with IrfanView you ask me... Well, the resulting image is displayed correctly, but the transparent color is some light blueish.
When I watch the gif in both IE & FF it's displayed with the correct transparency.
I zipped & added the files in this thread (as I am afraid the BB will do something with the original images) + a screenshot how it looks like in my IrfanView here.
Greetings
I generated a phpThumb image via this code:
Code:
<? $src_file = dirname(__FILE__).'/original.jpg'; $tgt_file = dirname(__FILE__).'/target.gif'; require_once( dirname(__FILE__).'/phpthumb.class.php' ); $thumb = new phpThumb(); $thumb->setSourceFilename( $src_file ); $thumb->setParameter( 'w', '118' ); $thumb->setParameter( 'h', '158' ); $thumb->setParameter( 'f', 'gif' ); $thumb->setParameter( 'config_allow_src_above_docroot', true ); $thumb->setParameter( 'fltr', array('ric|10|10') ); $thumb->GenerateThumbnail(); $thumb->RenderToFile( $tgt_file );
What does this have to do with IrfanView you ask me... Well, the resulting image is displayed correctly, but the transparent color is some light blueish.
When I watch the gif in both IE & FF it's displayed with the correct transparency.
I zipped & added the files in this thread (as I am afraid the BB will do something with the original images) + a screenshot how it looks like in my IrfanView here.
Greetings
Comment