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

Home Posts Topics Members FAQ

GD netpbm imagemagick what is better?

for to resize and copy original photos into a new directory and to use
for a thumbnail gallery on the web;

what is better: GD, Netpbm or imagemagick and why?

very thank
Jul 17 '05 #1
5 3631
*** nawfer escribió/wrote (Mon, 11 Oct 2004 19:18:19 GMT):
for to resize and copy original photos into a new directory and to use
for a thumbnail gallery on the web;

what is better: GD, Netpbm or imagemagick and why?


I particularly like ImageMagick because:

* My PHP version is too old for GD
* It's easy to use: I get thumbs with one line of code

I also suppose that being compiled software rather than interpreted it
should be faster but it's just a guess.

I've never used Netpbm.

--
-+ Álvaro G. Vicario - Burgos, Spain
+- http://www.demogracia.com (la web de humor barnizada para la intemperie)
++ Las dudas informáticas recibidas por correo irán directas a la papelera
-+ I'm not a free help desk, please don't e-mail me your questions
--
Jul 17 '05 #2
Alvaro G. Vicario wrote:
for to resize and copy original photos into a new directory and to use
for a thumbnail gallery on the web;

what is better: GD, Netpbm or imagemagick and why?


I particularly like ImageMagick because:

* My PHP version is too old for GD
* It's easy to use: I get thumbs with one line of code

I also suppose that being compiled software rather than interpreted it
should be faster but it's just a guess.


I use a combination of the two for the images I generate on the fly on one
of the sites I manage, as they are made large and then reduced.

I use the GD library to open the source background image and write the text
onto it, and then ImageMagick to scale it down to the correct size (yes,
this may sound inefficient ie "why don't you just make it small to start
with", but there are good reasons for doing it this way).

Initially I had GD resizing the image but then ran a bunch of tests and
ImageMagick is considerably faster at resizing than GD, at least for the
images I was using anyway.

--
Chris Hope - The Electric Toolbox - http://www.electrictoolbox.com/
Jul 17 '05 #3
> * My PHP version is too old for GD
* It's easy to use: I get thumbs with one line of code


Your code, have you take online?
Is there a good link with examples?
Jul 17 '05 #4
> I use a combination of the two for the images I generate on the fly on one
of the sites I manage, as they are made large and then reduced.
1- You use solution 'on the fly' only if you have one or few images?
But that's advantage to use gd with imagemagick, respect to use only
the second?
I use the GD library to open the source background image and write the text
onto it, and then ImageMagick to scale it down to the correct size (yes,
this may sound inefficient ie "why don't you just make it small to start
with", but there are good reasons for doing it this way).

Initially I had GD resizing the image but then ran a bunch of tests and
ImageMagick is considerably faster at resizing than GD, at least for the
images I was using anyway.


2- This is another solution for to use both.
Which are the advantages?

3- For only resize images into a new directory to use after for web
gallery, you use only imagemagick?

For all 3 solutions, where have you look codes?
Jul 17 '05 #5
*** nawfer escribió/wrote (Tue, 12 Oct 2004 09:17:52 GMT):
* It's easy to use: I get thumbs with one line of code


Your code, have you take online?
Is there a good link with examples?


Check the "Examples of ImageMagick Usage" link in the official site
http://www.imagemagick.org/

--
-+ Álvaro G. Vicario - Burgos, Spain
+- http://www.demogracia.com (la web de humor barnizada para la intemperie)
++ Las dudas informáticas recibidas por correo irán directas a la papelera
-+ I'm not a free help desk, please don't e-mail me your questions
--
Jul 17 '05 #6

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

Similar topics

1
by: Randell D. | last post by:
Folks, I've not used ImageMagick before - I've worked with the gd functions that are pre-compiled in PHP and found some of the limits problematic yet heard better reviews on ImageMagick. I've...
3
by: Joe | last post by:
Hey I have tried to install ImageMagick on my server, but my apache stalls when i try to start it with the following line added to my php.ini file: extension=php_imagick.dll I can't even...
1
by: shanergb | last post by:
Hi all. I'm creating a web-based application that uses PHP, MySQL & Apache on a Windows platform. What I need to do is create images on the fly with either GD or ImageMagick, display them on the...
3
by: Chuck Anderson | last post by:
I am trying to use ImageMagick from a Php script running under Windows XP. I have installed the latest version of ImageMagick - 6.2.1-7 and even tried backing up to version 5.5.7 (based on a...
5
by: Jim Red | last post by:
Hello Can someone give me an example how to use the Imagemagick - Identity command? Cheers Jim
0
by: ngocviet | last post by:
I use ImageMagick to add text to my animation gif, It's OK but my file is 4-5 times bigger than before(47.5K --195K :( ) The animation have 15 frames Anyone know how to reduce file size or any...
6
by: eholz1 | last post by:
Hello Users, I am not sure if this is the place to post an imagemagick question - please advise. I have imagemagick 6.3 installed, runs from command line ok, etc. I have tried (several times...
2
by: azrael | last post by:
Hy did anyone manage to work with imahemagick through python. I've been googling like a crazy for some instalation instructions, but i cant find anything. please help. thnx
0
by: empiresolutions | last post by:
I am working with a TIF to JPG conversion that will result in the JPG being printed from a web page. My issue is the final JPG image prints VERY blurry. The TIF file that has the following...
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
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
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
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: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
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.