473,221 Members | 1,836 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,221 software developers and data experts.

imagecopyresampled creating washed out images

Is there any better quality method for creating resized images? I'm
using imagecreatetruecolor and imagecopyresampled and making sure my
imagejpeg quality is set at 100 but the client I'm writing this for is
a photographer and is still noticing a color shifting/washing out.
From what I saw on the php.net with destination images bigger than

200x200 the imagecopyresamplebicubic is lower quality.

So is there a way to improve on the quality of imagecopyresampled /
imagecreatetruecolor combination or is that as good as it gets? Am I
stuck just using photoshop to create the thumbnails if I want the best
quality?

Jul 17 '05 #1
1 4071
On 17 Jan 2005 14:05:27 -0800, bo*******@hotmail.com wrote:
Is there any better quality method for creating resized images? I'm
using imagecreatetruecolor and imagecopyresampled and making sure my
imagejpeg quality is set at 100 but the client I'm writing this for is
a photographer and is still noticing a color shifting/washing out.
From what I saw on the php.net with destination images bigger than

200x200 the imagecopyresamplebicubic is lower quality.

So is there a way to improve on the quality of imagecopyresampled /
imagecreatetruecolor combination or is that as good as it gets? Am I
stuck just using photoshop to create the thumbnails if I want the best
quality?


Consider using imagemagick [1]; for creating photo thumbnails, it outperforms
GD (see [2]) and tends to produce better quality images - and has more options
to adjust the image to your liking.

[1]http://www.imagemagick.org/
[2]http://groups.google.co.uk/groups?selm=mgx6c.615%24Fo4.4744%40typhoon.sonic.n et

--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Stijn Goris | last post by:
hi all, I 'm trying to resize an image if it is to big. After the user uploads (with move_uploaded_file()) an image, it is checked for its resolution. If the image is to big it will be resized...
3
by: Stijn Goris | last post by:
hi all, I have a quesion regarding the source and destination images in the imagecopyresample function (GD Library). It takes a source file as argument but can I define where the source file is...
1
by: Derek | last post by:
I wanted to know if anyone had any insight or sample code of creating an AVI file from a directory of JPEG images. I have read the thread that that speaks about creating a MOV file from JPEG images...
6
by: ralphNOSPAM | last post by:
When I execute this script, nothing displays on my browser. I'm trying to verify my image is being reduced by 50% before I try to write it to a file: // The file $filename =...
7
by: Nathan Sokalski | last post by:
I am having a problem saving an image with the same name it originally had. I have two similar versions of my code, one in which I close the FileStream used to open the original image before saving,...
15
by: David Thielen | last post by:
Hi; My ASP.NET app (C# calling J# under .net 2.0) creates a png file in a subdirectory to display as part of the created page. However, the bitmap will not display due to a security violation. ...
1
by: lawrence k | last post by:
I'm looking at this page: http://us2.php.net/manual/en/function.imagecopyresampled.php I took the code from Example 2, almost exactly, and tried to use them on this page: ...
2
by: lawrence k | last post by:
I'm getting lots of fatal errors because I run out of memory trying to resize images: http://www.monkeyclaus.org/media/audio/index.php?pageId=182 Does anyone know how to protect against these...
3
by: Bint | last post by:
Hello, I'm trying to create thumbnails of PNG images. I have code that used to work but doesn't seem to anymore. The resizing just seems to return black images, even though my source image is...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.