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
 BitsPerSample returns 8 for monochrome images
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

dado

Slovenia
1 Posts

Posted - Jun 01 2021 :  05:20:04  Show Profile  Reply
Hi guys

Is there any way that you could double check if the version 10 incorrectly shows the BitsPerSample for a monochrome BMP image.

In version 8 this was shown correctly as 1bpp but the version 10 returns the value 8bpp even though the image is the same.

Regards,
Damjan

xequte

38180 Posts

Posted - Jun 01 2021 :  20:34:16  Show Profile  Reply
This returns 1 for me.

  ImageEnView1.IO.LoadFromFile( 'D:\20216151942_HAMMER.bmp' );
  Caption := IntToStr(ImageEnView1.IO.Params.BitsPerSample);


Can you give me more information?

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