class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
more info about the class
$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';
I use this :
but the processed image alway ends with BLACK fill color.
GD is version 2.0.18
Any idea would be much welcomed.