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
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TImageEnIO.SaveToStream not working for ioRAW (CR2
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic

United Kingdom
72 Posts

Posted - Mar 12 2019 :  15:32:23  Show Profile  Reply

I encountered this whilst using TImageEnMView.GetImageToStream, after I had added a Canon Raw file (CR2) to the ImageEnMView component.

Internally this calls "fImageEnIO.SaveToStream(stream, imageFormat)"

When image format is 20 (ioRAW), the SaveToStream method drops straight through to line 5609, where the "assigned(fpi.WriteFunction)" evaluates to false so the stream is not populatd. This results in fAborting := TRUE.

I have the ielib32.dll present (IELibAvailable = True).

Using 8.3.1 with DLL v5.0.0.0


Stuart Clennett
Delphi Berlin 10.1


4854 Posts

Posted - Mar 12 2019 :  23:07:49  Show Profile  Reply
Hi Stuart

I'm afraid saving of RAW images is not supported.

Xequte Software
Go to Top of Page

United Kingdom
72 Posts

Posted - Mar 13 2019 :  03:14:32  Show Profile  Reply
Ok, thanks Nigel. I'll get the stream some other way.


Stuart Clennett
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: