ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder
ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TImageEnIO.SaveToStream not working for ioRAW (CR2

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Format  BoldItalicizedUnderline Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailBrowse for an image to attach to your post Browse for a zip to attach to your post Insert CodeInsert QuoteInsert List


Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

Check here to subscribe to this topic.

T O P I C    R E V I E W Posted - Mar 12 2019 : 15:32:23

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
2   L A T E S T    R E P L I E S    (Newest First) Posted - Mar 13 2019 : 03:14:32
Ok, thanks Nigel. I'll get the stream some other way.


Stuart Clennett
xequte Posted - Mar 12 2019 : 23:07:49
Hi Stuart

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

Xequte Software