|
-
May 30th, 2001, 04:10 AM
#1
Thread Starter
Member
Jpg Information
Hi,
Is there any way to get the H. Resolution, V. Resolution, Size, And Bit information from a Jpg?
Thanks,
-
May 30th, 2001, 05:35 AM
#2
jpg's have a header, and that information is all in there.
Go here and download the information for jpeg.
-
May 30th, 2001, 05:37 AM
#3
Oooooops. I kinda lied a little. You said size. Most graphics formasts map data onto a device. The physical output device can be any size, so size is purely relative. In other words, there is nothing that says 'I am a picture that is 10cm x 40 cm"
-
May 30th, 2001, 07:03 AM
#4
Thread Starter
Member
You know when we see a JPG Property in windows explorer?
The windows explorer shows the Horizontal resolution, vertical resolution and bit count, I know this values but only for BMP :-))
... and nead to know also for JPG
Thanks,
-
May 30th, 2001, 04:04 PM
#5
Addicted Member
Oh, you must mean pixel height, pixel width, and bit-depth. That information I believe is found in the JPEG header
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
May 30th, 2001, 04:36 PM
#6
Thread Starter
Member
yep, that's it!
Do you have any idea about how can I get that Header information?
Thanks,
-
May 31st, 2001, 09:28 AM
#7
Addicted Member
I found this at www.freevbcode.com
Follow this link and download the file listed, it's a sample program with source code for getting info about image files.
http://www.freevbcode.com/ShowCode.Asp?ID=2275
They've got a lot of good code there besides that
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
May 31st, 2001, 12:24 PM
#8
Thread Starter
Member
Many thanks
That code help me a lot!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|