开发者

Exif thumbnail data

开发者 https://www.devze.com 2023-01-07 22:39 出处:网络
I\'m currently a bit stucked in exif. I extract the thumbnail from the JPEG using GDI+ with C#. I wanted to get it unscaled so I used 0 as parameters to ImageWidth and ImageHeight parameters in the Ge

I'm currently a bit stucked in exif. I extract the thumbnail from the JPEG using GDI+ with C#. I wanted to get it unscaled so I used 0 as parameters to ImageWidth and ImageHeight parameters in the GetThumbnailImage function of the Image class. I always get an image size of 160x120 but I assume there can be different sizes and that GetThumbnailImage does not scale. I see that there could be a开发者_如何学Pythondditional exif data in the thumbnail, but I search for a fast way to decide whether ti scale the thumbnail or the primary image.

Is there any info about the thumbnail size in the primary images exif data? The tags I found until now doesn't seen to fit.

Has anyone done something similar?

Thanks in advance, Sascha


Exif data depends on many factors. One is the camera creator. So there is no real answer. There may be information, but there must be no information. Also, information might be vendor specific...

0

精彩评论

暂无评论...
验证码 换一张
取 消