473,406 Members | 2,217 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,406 software developers and data experts.

image resizing that doesn't sacrifice quality

Hi,

Anyone know of a script out there that can resize images and not
sacrifice image quality? I've been using phpthumb
(http://phpthumb.sourceforge.net/) but when compared to an image
resized in photoshop it's products are not as good (yeah I upped the
image quality and tried out some filters - no luck).

Tutorials or scripts online preferred are preferred, but if you know of
a way to change the settings on phpthumb to maintain the quality that
would work too. Heck I'm even willing to use another scripting
language if necessary.

Thanks in advance!

Jan 4 '07 #1
8 3666
Rik
be*******@gmail.com wrote:
Hi,

Anyone know of a script out there that can resize images and not
sacrifice image quality? I've been using phpthumb
(http://phpthumb.sourceforge.net/) but when compared to an image
resized in photoshop it's products are not as good (yeah I upped the
image quality and tried out some filters - no luck).

Tutorials or scripts online preferred are preferred, but if you know
of a way to change the settings on phpthumb to maintain the quality
that would work too. Heck I'm even willing to use another scripting
language if necessary.

Thanks in advance!
http://vikjavev.no/computing/ump.php
--
Rik Wasmus
Jan 4 '07 #2
Thanks Rik,

phpThumb actually has an unsharp mask filter built in and I've tickered
with it, but I still can't get the quality up to what photoshop
produces by default. I adobe is the gold standard, but resizing an
image seems rather trivial so I thought php could do it w/o a problem.

On Jan 4, 5:41 pm, "Rik" <luiheidsgoe...@hotmail.comwrote:
berksh...@gmail.com wrote:
Hi,
Anyone know of a script out there that can resize images and not
sacrifice image quality? I've been using phpthumb
(http://phpthumb.sourceforge.net/) but when compared to an image
resized in photoshop it's products are not as good (yeah I upped the
image quality and tried out some filters - no luck).
Tutorials or scripts online preferred are preferred, but if you know
of a way to change the settings on phpthumb to maintain the quality
that would work too. Heck I'm even willing to use another scripting
language if necessary.
Thanks in advance!http://vikjavev.no/computing/ump.php

--
Rik Wasmus
Jan 5 '07 #3
Rik
be*******@gmail.com wrote:
Thanks Rik,

phpThumb actually has an unsharp mask filter built in and I've
tickered with it, but I still can't get the quality up to what
photoshop produces by default. I adobe is the gold standard, but
resizing an image seems rather trivial so I thought php could do it
w/o a problem.
Well, the problem (or benefit) is offcourse that Photoshop doesn't 'just'
resize, it actually does quite a lot of work for you.
If this mask doesn't fit your needs, you could perhaps give ImageMagick a
try. See http://www.magickwand.org/ for details.
--
Rik Wasmus
Jan 5 '07 #4
We presently have imagemagick installed, is there a particular benefit
to magickwand that you had in mind?

BTW, thanks again for all the help!

Rik wrote:
be*******@gmail.com wrote:
Thanks Rik,

phpThumb actually has an unsharp mask filter built in and I've
tickered with it, but I still can't get the quality up to what
photoshop produces by default. I adobe is the gold standard, but
resizing an image seems rather trivial so I thought php could do it
w/o a problem.

Well, the problem (or benefit) is offcourse that Photoshop doesn't 'just'
resize, it actually does quite a lot of work for you.
If this mask doesn't fit your needs, you could perhaps give ImageMagick a
try. See http://www.magickwand.org/ for details.
--
Rik Wasmus
Jan 5 '07 #5
Message-ID: <11**********************@11g2000cwr.googlegroups. comfrom
be*******@gmail.com contained the following:
>Anyone know of a script out there that can resize images and not
sacrifice image quality? I've been using phpthumb
(http://phpthumb.sourceforge.net/) but when compared to an image
resized in photoshop it's products are not as good (yeah I upped the
image quality and tried out some filters - no luck).
Check out http://vikjavev.no/computing/ump.php

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jan 5 '07 #6
be*******@gmail.com wrote:
>
We presently have imagemagick installed, is there a particular benefit
to magickwand that you had in mind?
I know nothing about the modules being discussed, but can contribute
this info: the feature you need for producing good quality thumbnails is
"bi-linear resampling". Basically it samples a range of pixels in both
directions and weights them to come up with a brightness for the new
pixel that will represent them all. Hope that helps with your quest!
Jan 5 '07 #7
Rik
be*******@gmail.com wrote:
We presently have imagemagick installed, is there a particular benefit
to magickwand that you had in mind?
Nope, jus a nice PHP interface.
I have no idea what phpthumb uses, but usually it's GD. People have been
telling me ImageMagick has some benifits/should be better then GD.
Personally, I'm not very well educated in image quality, and the
combination of not that great an eyesight and a lousy monitor renders me
quite useless in discussions which image is of better quality, unless the
differences are fairly large.

If both GD and ImageMagick, in combination with different filters, still do
not produce the desired results, I do not have an easy solution for you.
I'm only in the habit of making simple, light weight pictures for the web,
an not heavy quality :-).

A very blunt solution is offcourse to let Photoshop do it if that's the
only one that works: install, exec() or someting, e presto.
--
Rik Wasmus
Jan 5 '07 #8
be*******@gmail.com wrote:
Thanks Rik,

phpThumb actually has an unsharp mask filter built in and I've tickered
with it, but I still can't get the quality up to what photoshop
produces by default. I adobe is the gold standard, but resizing an
image seems rather trivial so I thought php could do it w/o a problem.

On Jan 4, 5:41 pm, "Rik" <luiheidsgoe...@hotmail.comwrote:
>berksh...@gmail.com wrote:
>>Hi,

Anyone know of a script out there that can resize images and not
sacrifice image quality? I've been using phpthumb
(http://phpthumb.sourceforge.net/) but when compared to an image
resized in photoshop it's products are not as good (yeah I upped the
image quality and tried out some filters - no luck).

Tutorials or scripts online preferred are preferred, but if you know
of a way to change the settings on phpthumb to maintain the quality
that would work too. Heck I'm even willing to use another scripting
language if necessary.

Thanks in advance!http://vikjavev.no/computing/ump.php
--
Rik Wasmus

Resizing or resampling? The latter produces much better quality. A
smidgen of unsharp mask tops it off. I use ImageMagick, but now that I
know about ump.php, I'll be giving it a try.

--
****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
*****************************
Jan 5 '07 #9

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

Similar topics

4
by: Ruby Tuesday | last post by:
I have a section(185pixelsx 185pixels) in my web page to display an image that is stored in a directory. Using php, how do you resize so if: the image dimension is smaller(width and height is...
0
by: E | last post by:
I wrote code which Resizes images and then saves them below is the 2 methods. The problem is that half of the resized image turns out gray, as if it wasn't completed. Could someone please tell me...
0
by: E | last post by:
I wrote code which Resizes images and then saves them below is the 2 methods. The problem is that half of the resized image turns out gray, as if it wasn't completed. Could someone please tell me...
0
by: E | last post by:
I wrote code which Resizes images and then saves them below is the 2 methods. The problem is that half of the resized image turns out gray, as if it wasn't completed. Could someone please tell me...
3
by: Zahid Khan | last post by:
I need little help in my situation. I am reading a graphic file (jpg) from disk and then resizing it and save resized image. What happens, it gets blured, I want to retain same quality so that...
2
by: Thomas | last post by:
Hi all, I've written an image resizing class so that I can generate thumbnails and various image sizes on the fly. The problem I'm having is that on about 70% of the thumbnails I generate, I...
1
by: Geuis | last post by:
Hi, new to the group. I use the following code to resize images my users upload. They're either blurry or they're jaggy. Can someone recommend modifications or different code that will resize...
0
by: JJ | last post by:
When inserting new articles on my site users can populate one field with an image url. when the user then clicks on the submit button to add the article (body field and a seperate image url...
11
by: shapper | last post by:
Hello, I am displaying an image on a few pages. The image size is 50 px height and 50 px width. In some pages I need the image to be 30x30 px in others 40x40 px and in others 50x50px. Can I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
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
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...

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.