Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Php Script Request...
Old 11-05-2005, 12:23 PM Php Script Request...
Brian07002's Avatar
Defies a Status

Posts: 2,162
Name: ...
Location: ...
Trades: 0
Could anyone help me with writting a piece of code that will search a website for pictures in any format (gif, jpg) that will return dimensions if they are of proportional size? Maybe I am not explaining this right, but to clarify what I am trying to say:

For example if the image will resize down from 640x480 to 100x100 proportionaly (without distorting) that would be what I was looking for.

But not just able to resize to 100x100, but resize in any size. So for example if I wanted to find images that were proportional at 140x140 I could do that as well. I want to be able to collect images like that from a website.

Note: I have tried downloading many images in there full size not knowing if they were going to be proportional (after resizing them), and after I downloaded quite a few, it turned out that only a handful would be the same after resizing them using proportional resizing.

Sorry for long explanation

Any help would GREATLY Appreciated,
-Brian
__________________
Made2Own

Please login or register to view this content. Registration is FREE
Brian07002 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-06-2005, 01:53 PM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
Quote:
Originally Posted by Brian07002
For example if the image will resize down from 640x480 to 100x100 proportionaly (without distorting) that would be what I was looking for.
I don't understand what you mean by this - if you resize a 640x480 image down to 100x100 you will either distort the image, add empty areas to the top and bottom, or lose bits of the image on the sides.

You can resize a 640x480 image down to a 100x75 image without distortion since they have the same proportions.
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Reply     « Reply to Php Script Request...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13730 seconds with 12 queries