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
 TIEBitmap size after loadfrom
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Dany

67 Posts

Posted - Mar 26 2025 :  07:46:09  Show Profile  Reply
Hello;

I see that when I load a JPG from a file, it always say that Width and Height are 800x600.

procedure LoadFile(const sSource);
var
  Bmp: TIEBitmap;
  h, w: integer;
begin
  Bmp := TIEBitmap.Create;
  try
    w := Bmp.Width; ////////// always 0
    h := Bmp.Height;  ///////// always 0
    Bmp.LoadFromFile(sSource);
    w := Bmp.Width; ////////// always 800
    h := Bmp.Height;  ///////// always 600


What do I need to have the real size?

Thank you!

xequte

38899 Posts

Posted - Mar 27 2025 :  00:08:59  Show Profile  Reply
That would be a very odd result. Can you send me some sample images that reproduce this?

ImageEn version?
32bit or 64bit app?
Using IELib or not using IELib?

https://www.imageen.com/support/BugReportingGuidelines.html

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