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
 Latest IELIB64.dll and ImageEn 6.2.1
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

mhieta

Finland
78 Posts

Posted - Oct 17 2015 :  03:46:47  Show Profile  Reply
Hi,

There is something wrong with ielib64.dll. I get constant crashes and some images colors are just wrong or even black. Attached thumb loads okay in 32-bit side.



- Marko

mhieta

Finland
78 Posts

Posted - Oct 17 2015 :  04:05:23  Show Profile  Reply
Hi,

Forgot to say that image colors are okay with 6.2.0 released ielib64.dll to use with ImageEn 6.2.1. Is it okay to use different versions together? Like example newer ielib64.dll with older ImageEn?

- Marko
Go to Top of Page

xequte

39076 Posts

Posted - Oct 18 2015 :  04:44:55  Show Profile  Reply
Hi Marko

Can you give me the code to reproduce the error?

So you are using ielib 2.0.2, with ImageEn v6.2.1.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

am24

30 Posts

Posted - Oct 18 2015 :  05:26:22  Show Profile  Reply
I have the exactly same behavior here. DLL from 6.2.0 works fine, 6.2.1 produces bad results. I just use LoadFromFile(...), nothing special.
Go to Top of Page

mhieta

Finland
78 Posts

Posted - Oct 18 2015 :  05:53:58  Show Profile  Reply
Hi Nigel,

That ielib 2.0.2 is okay. But with ielib 3.0 loading is not okay.

Here is the code:

procedure TForm2.Button1Click(Sender: TObject);
begin
  if OpenImageEnDialog1.Execute then
  begin
    Image1.io.Params.Width := Image1.Width;
    Image1.io.Params.Height := Image1.Height;
    Image1.IO.Params.JPEG_Scale := ioJPEG_AUTOCALC; // Access Violation
//    Image1.io.Params.JPEG_Scale := ioJPEG_FULLSIZE;  // Loads ok
    Image1.IO.LoadFromFile(OpenImageEnDialog1.FileName);
  end;

end;

procedure TForm2.FormShow(Sender: TObject);
begin
  Image1.IO.IEBitmap.Location:=ieFile;
  IEGlobalSettings.DefMinFileSize:=268435456;
end;

Access violation is in: jpegfilt:

function IEJPEG_Decomp_ReadScanlines(cinfo: IEJPEG_Decomp_Struct; scanlines: pointer; max_lines: cardinal): cardinal;
begin
  result := cinfo.readScanlines(scanlines, max_lines);
end;


- Marko
Go to Top of Page

xequte

39076 Posts

Posted - Oct 19 2015 :  21:08:49  Show Profile  Reply
Thanks, we will investigate.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

xequte

39076 Posts

Posted - Oct 20 2015 :  14:35:23  Show Profile  Reply
Hi

We have a fix available. You can either email us for the updated IELib DLL files, or reinstall ImageEn:

http://www.imageen.com/support/downloadrequest.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

mhieta

Finland
78 Posts

Posted - Oct 20 2015 :  14:55:38  Show Profile  Reply
Hi,

Okay. Just sent download request.

- Marko
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: