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
 Image save by ImageEn vs. ImageLib?

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

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
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
lamv@ftechi.com Posted - Feb 03 2016 : 12:38:50
Hi,
Does anyone know what is the difference on how ImageEn save its content to the database vs. ImageLib?
I am having problem with image saved by ImageEn (BMP works fine but other like JPEG, GIF, PNG, etc) does not work when Reportbuilder by Digital-Metaphors try to render it on the report (return with invalid image error code 53).
Any suggestion is greatly appreciated.
I am using these components in Delphi 7 and Delphi XE8. The reason for the switch is because ImageLib is no longer in business.
Thanks,
Vinh,
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Feb 09 2016 : 12:48:08
Thanks for the update, Vinh

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
lamv@ftechi.com Posted - Feb 09 2016 : 10:33:27
Hi,
My apology for our dump mistake in code. The short story is we have a line of code at runtime to tell ReportBuilder the image type to load and for whatever the reason the image extension save by ImageEn is different than what ReportBuilder is expected in the GraphicType property so it failed to load.
To solve this problem, we set the GraphicType property in ReportBuilder to "AutoDetect" and program is working as intended.
Thank you,
Vinh,
xequte Posted - Feb 03 2016 : 21:50:52
Hi

I'm not sure why ReportBuilder should be so picky about a standard such as JPEG, but I would try changing the JPEG parameters such as:

http://www.imageen.com/help/TIOParams.JPEG_OptimalHuffman.html
http://www.imageen.com/help/TIOParams.JPEG_Progressive.html
http://www.imageen.com/help/TIOParams.JPEG_ColorSpace.html
http://www.imageen.com/help/TIOParams.JPEG_DCTMethod.html

e.g.

ImageEnView1.IO.IOParams.JPEG_OptimalHuffman := True;
ImageEnView1.IO.Save...

ImageEnView1.IO.IOParams.JPEG_DCTMethod := ioJPEG_IFAST;
ImageEnView1.IO.Save...


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com