Weird patterns on whitespace

See all posts Reply

Weird patterns on whitespace new!
by Rob, 5 years, 5 months ago
I have noticed that when I upload images that have light or white space in it, the uploaded images have strange patterns on them instead of being clear and clean. Any thoughts? ThanksReply
Re: Weird patterns on whitespace new!
by colin, 5 years, 5 months ago
It is probably the JPEG compression. Can you provide any examples of before and after images, as well as the settings you use?Reply
Re: Weird patterns on whitespace new!
by Rob, 5 years, 5 months ago
Thanks for the quick response! This is what I have for the compression:
$handle->jpeg_quality = 100;

Should I email you before and after photos?Reply
Re: Weird patterns on whitespace new!
by colin, 5 years, 5 months ago
I am afraid that it is simply because of the JPEG compression. JPEG is a lossy format, and resizing the image will lead to a loss of quality.Reply
Re: Weird patterns on whitespace new!
by Rob, 5 years, 5 months ago
Ok...thank youReply
Re: Weird patterns on whitespace new!
by Rob, 5 years, 5 months ago
$handle->image_resize = true;
$handle->image_ratio_y = true;
$handle->image_x = 1200;
$handle->file_new_name_body = $file_name;
$handle->file_overwrite = true;
$handle->file_auto_rename = false;
$handle->file_max_size = '2000000'; // 2mb
$handle->jpeg_quality = 100;Reply