ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 PNG BitDepth
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

HeartWare

Denmark
46 Posts

Posted - Mar 29 2024 :  11:44:44  Show Profile  Reply
Is there a way to detect Bit Depth for a PNG file (24/48 bit)?

xequte

38209 Posts

Posted - Mar 29 2024 :  16:58:34  Show Profile  Reply
Hi

Check BitsPerSample:

http://www.imageen.com/help/TIOParams.BitsPerSample.html

It will be 8 for 24bit (or 32bit) and 16 for 48bit.

Also see:

http://www.imageen.com/help/TIOParams.SamplesPerPixel.html
http://www.imageen.com/help/TIOParams.NativePixelFormat.html



Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: