Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you get height and width of an image
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Divers
Thread ID:
01443957
Message ID:
01444549
Vues:
51
>>How would you determine the height and width of an image being retrieved from the hard drive? It could be most any size and there's no way to put this in a table, so doing it programatically would be the only option. I'm wondering if FoxCharts could do it or is there some other way? Perhaps the file format has it embedded in a header section?
>
>Hi Russel,
>
>FoxCharts is a specific charting class that leverages GdiPlusX, another VFPX, that is responsible for all the image works.
>SO, yes, GdiPlusX is one great option.
>But there are many others as well, some were already offered by other people, check this old blog post of mine:
>
>http://weblogs.foxite.com/vfpimaging/archive/2007/05/28/3862.aspx
>or
>http://74.125.47.132/search?q=cache:8LIvlv4eCvAJ:weblogs.foxite.com/vfpimaging/archive/2007/05/28/3862.aspx+vfpimaging+get+image+dimensions&cd=2&hl=pt-BR&ct=clnk&gl=br
>
>HTH
>
>Cesar

Thanks, Cesar. I was just not thinking about GDI at the time I posted, but then thought of it right after posting. Figures, huh? Anyway, I just used the GDI foundation class and that worked fine.
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform