GD netpbm imagemagick what is better?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nawfer

    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
  • Alvaro G. Vicario

    #2
    Re: GD netpbm imagemagick what is better?

    *** nawfer escribió/wrote (Mon, 11 Oct 2004 19:18:19 GMT):[color=blue]
    > 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?[/color]

    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
    --

    Comment

    • Chris Hope

      #3
      Re: GD netpbm imagemagick what is better?

      Alvaro G. Vicario wrote:
      [color=blue][color=green]
      >> 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?[/color]
      >
      > 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.[/color]

      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/

      Comment

      • nawfer

        #4
        Re: GD netpbm imagemagick what is better?

        > * My PHP version is too old for GD[color=blue]
        > * It's easy to use: I get thumbs with one line of code[/color]

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

        Comment

        • provaands

          #5
          Re: GD netpbm imagemagick what is better?

          > I use a combination of the two for the images I generate on the fly on one[color=blue]
          > of the sites I manage, as they are made large and then reduced.[/color]

          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?
          [color=blue]
          > 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.[/color]

          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?

          Comment

          • Alvaro G. Vicario

            #6
            Re: GD netpbm imagemagick what is better?

            *** nawfer escribió/wrote (Tue, 12 Oct 2004 09:17:52 GMT):[color=blue][color=green]
            >> * It's easy to use: I get thumbs with one line of code[/color]
            >
            > Your code, have you take online?
            > Is there a good link with examples?[/color]

            Check the "Examples of ImageMagick Usage" link in the official site
            ImageMagick is a powerful open-source software suite for creating, editing, converting, and manipulating images in over 200 formats. Ideal for developers, designers, and researchers.


            --
            -+ Á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
            --

            Comment

            Working...