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
 IEM_ImageDimensions displays incorrect color depth
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

w2m

USA
1990 Posts

Posted - Nov 10 2015 :  13:53:32  Show Profile  Reply
procedure TForm2.FillFromFolder1Click(Sender: TObject);
var
  i: Integer;
begin
  ImageEnMView1.FillFromDirectory(cxShellComboBox1.EditValue, -1, False, '',
    False, '', False, False, iedtNone, iedtNone, iedtNone, False, False);
  ImageEnMView1.SelectedImage := 0;
  { Display the filename, dimensions and color depth for each image - LoadOnDemand must be false }
  for i := 0 to ImageEnMView1.ImageCount - 1 do
  begin
    ImageEnMView1.ImageTopText[i] := IEM_ImageDimensions;
    { IEM_ImageDimensions displays the correct image dimension text, but 32bit image color depth text are displayed as 24bit'}
    ImageEnMView1.ImageInfoText[i] := IEM_Filename
  end;
end;


Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development

xequte

39099 Posts

Posted - Nov 10 2015 :  16:43:28  Show Profile  Reply
Thanks Bill,

We'll drop the bit depth output for 6.2.2 to make it more akin to Windows Explorer.


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