Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 1 of 1

Thread: Resize Image

  1. #1
    Join Date
    Nov 2006
    Location
    Quebec, Canada.
    Posts
    432

    Resize Image

    Hello everyone,

    I'm making a little app that's updating an XML file to be parsed by a PHP; that's for a client's portfolio, because he doesn't want to play with the code. It's easier for him like this. So, I used what Intrigued provided in the following post: http://indigorose.com/forums/showpos...6&postcount=11 , but I'm not able to get it to work.

    Here's the code for that specific action:
    Code:
     File.Run(workfolder.. "\\images\\mogrify.exe", "mogrify -resize 44x40 ".. "image1_th"..currentimage1name.Extension, "", -1, true) 
    --the variable "workfolder" should be something like this: "C:\Users\FoxLeader\Desktop\Portfolioroot" and "currentimage1name.Extension" should be either .png , .jpg or anything like this. 
    --In his exemple, Intrigued gave the following:
     File.Run(CWF.. "\\mogrify.exe", "mogrify -resize 256x256 "..sFileName, "", SW_MINIMIZE, true)

    output enhanced with AMS Code Pretty



    Anyone has an idea?
    Thanks, FoxLeader

    Edit: A little more precisions:
    1. I copy the *exe in the working folder
    2. I proceed with resizing the 6 files (all in the same folder, their names varying only by the number and extension. Ex: image1_th.png, image4_th.jpg , etc...
    3. I delete the exe.

    How it's going: the *exe is sucessfully copied and deleted, but nothing happens for the resizing part.
    Last edited by FoxLeader; 08-17-2007 at 03:49 PM. Reason: More precisions

Similar Threads

  1. Resize image with slider pluging
    By bobbie in forum AutoPlay Media Studio 6.0
    Replies: 5
    Last Post: 01-19-2007, 04:53 AM
  2. How to make image to resize keep aspect ratio
    By roma123 in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 08-10-2005, 08:51 AM
  3. Function: Resize an Image to Fit your Project Window
    By Adam in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 06-03-2004, 11:55 AM
  4. Function: Resize & Center an Image
    By kpsmith in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-17-2004, 01:36 PM
  5. Making a Thumbnail Image Browser
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 02:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts