Hello Drew ,
thanks for letting me know the arguments it takes.
ive looked it up in the manual , and indeed , the 3rd arguement after the string name , is the quality. from 0-100
Id like to set this at 90 ,
my php code is
$function_to_read = "ImageCreateFrom".$function_suffix;
$function_to_write = "Image".$function_suffix;
// Read the source file
$source_handle = $function_to_read($images_dir."/".$filename);
the value of $function_suffix is the file type , its all mostly Jpgs anyway. So $function to read would be ImageCreateFromJPEG($images_dir."/".$filesname,90) But when i try that , the photo comes out in a black line , no picture.
Am i setting the arguement wrong?