Solved

Working with FLY

Posted on 1997-03-10
1
240 Views
Last Modified: 2013-12-25
I have been working with FLY, to no avail.

I am trying to develop a script that will take a user's selected image and not only upload it to a directory, but also create a smaller version thumbnail image, ON THE FLY, and place the thumb in a thumbs directory.

I have gotten as far as being able to take in a user's image and upload it to the server, now I need to make the darn FLY portion of the script work to make the thumbnail image.

0
Comment
Question by:pjstarr022197
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
Voodoo earned 100 total points
ID: 1827740
Hi there, I have used fly to create dynamic images in the form of postcards online, comprising of textures, stamps pictures etc.

Its difficult to fully answer your question without knowing how you have called "fly" within your script.

However, the commands you need to use within fly to resize the image is "copyresized x1,y1,x2,y2,dx1,dy1,dx2,dy2,filename.gif" where the first 4 parameters relate to the clipping of the source image, the next 4 parameters relate to the new size of what was clipped, and filename.gif is the destination file.

Ensure that you are calling the program correctly, and perhaps just create an example script file which does the above with a sample image to ensure that you are calling fly correctly (outside of your script, i.e. on the command line).
0

Featured Post

How To Install Bash on Windows 10

Windows’ budding partnership with Canonical has certainly led to some great improvements. One of them being the ability to use Bash on your Windows machine without third party applications! This might be one of the greatest things a cloud engineer in a Windows environment can do!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question