Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get image size without loading it
Message
De
04/10/2013 15:06:37
 
 
À
04/10/2013 07:02:42
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2003
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01584779
Message ID:
01584795
Vues:
64
Definately some informaion may be inside the File with respect to its attributes. Using FILETOSTR() may be useful. But you may perhaps work on it to trace your required information as you will see ASCII codes or symbols. I think this would be the fastest Mode to get your required information

This link may be useful for you.

http://www.velocityreviews.com/forums/t419892-reading-jpeg-header-information.html



>I'm generating webpages with some images in them. The slow part is getting the image size, which I do by
>
>
>loImg=LoadPicture(lcFajl)
>lnWidth=Round(loImg.Width/26.458,0)
>lnHeight=Round(loImg.Height/26.458,0)
>
>
>The first line is the slow part. I seem to remember these attributes can be extracted, given the filename, by some feature of scripting.filesystemobject that I can't find now.
>
>I think I saw something like that in the last ten days or so, but me.memory.refresh() returns .f. - so, is there anyone with better memory?
Harsh
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform