Can't change background color

See all posts Reply

Can't change background color new!
by mat, 17 years, 1 month ago
hi,
I use this :

$handle->file_name_body_add     = "_large";
$handle->file_safe_name         = true;
$handle->image_convert          = 'jpg';
$handle->jpeg_quality           = 70;
$handle->image_resize           = true;
$handle->image_ratio_fill       = true;
$handle->image_y                = 265;	
$handle->image_x                = 390;
$handle->image_background_color = '#FF00FF';

but the processed image alway ends with BLACK fill color.

GD is version 2.0.18

Any idea would be much welcomed.Reply
Re: Can't change background color new!
by colin, 17 years, 1 month ago
Which version of the class are you using? You should use version 0.25 RC1, that you can find here.

The code has been substantially rewritten, especially the part dealing with background color. Let me know if you still have the problem with 0.25RC1.Reply
Re: Can't change background color new!
by mat, 17 years, 1 month ago
Alleluia !
I was using the 0.24 version.
It works with 0.25RC1.
MAny many thanks.
Great Class by the way.Reply