Solved

Working with FLY

Posted on 1997-03-10
1
211 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
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
This article will show, step by step, how to integrate R code into a R Sweave document
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now