Unknown "convert" command (creating thumbnails)

Help
coboli
2013-07-11
2013-07-24
  • coboli

    coboli - 2013-07-11

    Hello,
    due to a system crash I had to reinstall my system (Win-XP). One of the open problems is a Rexx-script which I use to create thumbnails. The script extracts the names fo a bunch of images in a spezial folder and creates a copy of this images as thumbnails. When I run this script, I receive an error message for the command "convert". It seems that the command is now taken from the XP, but in my script it belongs to modifying images.
    I am shure, that i have installed a library (long time ago) which included this command.
    Has someone an idea where this command may be included?
    As this type of operation is only part of one single script, I could rewrite the code to create the thumbnails.
    Has someone an example, how to do this? The copy part must resize the image with only parameter: the heigth. In my case 120 pixel. The width must be adapted to keep the ratio of the picture.
    I hope my explanation is not to confuse.

    Thanks coboli

     
    • Mark Hessling

      Mark Hessling - 2013-07-11

      convert.exe comes with ImageMagick, so maybe you had ImageMajick
      installed and your PATH set to call the convert.exe in ImageMajick
      before the directory for the XP convert.exe

      Cheers, Mark

      On 12/07/13 07:06, coboli wrote:

      Hello,
      due to a system crash I had to reinstall my system (Win-XP). One of
      the open problems is a Rexx-script which I use to create thumbnails.
      The script extracts the names fo a bunch of images in a spezial folder
      and creates a copy of this images as thumbnails. When I run this
      script, I receive an error message for the command "convert". It seems
      that the command is now taken from the XP, but in my script it belongs
      to modifying images.
      I am shure, that i have installed a library (long time ago) which
      included this command.
      Has someone an idea where this command may be included?
      As this type of operation is only part of one single script, I could
      rewrite the code to create the thumbnails.
      Has someone an example, how to do this? The copy part must resize the
      image with only parameter: the heigth. In my case 120 pixel. The width
      must be adapted to keep the ratio of the picture.
      I hope my explanation is not to confuse.

      Thanks coboli


      Unknown "convert" command (creating thumbnails)
      https://sourceforge.net/p/regina-rexx/discussion/88575/thread/7dd92a7e/?limit=25#fa59


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/regina-rexx/discussion/88575/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --

      • Mark Hessling, mark@rexx.org http://www.rexx.org/
      • Author of THE, a Free XEDIT/KEDIT editor and, Rexx/SQL, Rexx/CURL, etc.
      • Maintainer of Regina Rexx interpreter
      • Use Rexx? join the Rexx Language Association: http://www.rexxla.org/

       
  • Mark Hessling

    Mark Hessling - 2013-07-11

    convert.exe comes with ImageMagick, so maybe you had ImageMajick installed and your PATH set to call the convert.exe in ImageMajick before the directory for the XP convert.exe

    Cheers, Mark

     
    • coboli

      coboli - 2013-07-24

      Thanks Mark,

      it was exactly my problem.
      ImageMagick was still on the system, but the path-info was invalid. I have downloaded and installed the latest version. now everything runs fine as before.

      Thanks again,
      coboli

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks