473,467 Members | 1,351 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 4086
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.