Hello guys
Is there any way to check if downloaded image(.TIFF,.PNG,.JPEG and others) has compression or not ?
Currently I'm using OpenCV, but I don't care how to retrieve this info.
If I open some image via ordinary Windows Explorer->Right button click->Properties->Details->and we all can see a "compression" field
Thnx
2 Replies - 479 Views - Last Post: 09 October 2012 - 04:56 AM
#1
Is there any way to check if an image compressed or not
Posted 06 October 2012 - 07:44 AM
Replies To: Is there any way to check if an image compressed or not
#2
Re: Is there any way to check if an image compressed or not
Posted 06 October 2012 - 08:23 AM
Almost all image file formats have a header section. The header section often has a field that indicates whether compression has been used or not, and if so what particular method.
I suggest finding a library that can handle different file formats and the exposes this information to you, otherwise you'll have to roll your own file reader that will have to recognize various files.
I suggest finding a library that can handle different file formats and the exposes this information to you, otherwise you'll have to roll your own file reader that will have to recognize various files.
#3
Re: Is there any way to check if an image compressed or not
Posted 09 October 2012 - 04:56 AM
I'have found what I need.
If someone is interested too please look here:
http://www.codeproje...pluscompression
If someone is interested too please look here:
http://www.codeproje...pluscompression
This post has been edited by Shtock: 09 October 2012 - 04:56 AM
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|