Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to detect the dimension of JPG
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00696132
Message ID:
00700051
Views:
28
Sorry, as I still use VFP 5.0
it doesn't support JPG, and thus I use foxhwnd to display JPG/GIF.

For some other reason,
(so many programs were writen on Select-on-Cursor,
which NOT availble at 6.0), I can't upgrade it. :(

do you have another way to do?!

I have test both:
Createobject('image') and Createobject('foxhwnd.foxhwndctrl.1')

Neither of them can fix my problem.

>How about:
>
loImg = CREATEOBJECT('image')
>loImg.Picture = < my jpg path >
>? loImg.Height
>? loImg.width
>
>Cheers,
>
>Andrew
>
>>I use GetPict() or GetFile([JPG]) to get the photo path and load it at
>>a text field, but I need to find out the real dimension(not assign length and width on Foxhwnd.ocx object!) How to maintain the photo ratio is small show?
>>
>>Thank you.
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform