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
 Converting EMF graphic to PNG results in a black i

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
bvsimmons Posted - May 09 2016 : 03:27:23
HI Since upgrading to 6.3.0 when I convert a graphic image from a emf file to a png image All I get is a black image.

Below is the code that I have been using for years, any clues?

ImageEnView1->IO->Params->PNG_Interlaced = true;
String s = "Tester.png";
ImageEnView1->IO->Params->PNG_Compression = 0 ;
ImageEnView1->IO->Params->PNG_Filter = ioPNG_FILTER_NONE;
ImageEnView1->IO->LoadFromFileAuto("DRCGraph.emf");
ImageEnView1->IO->SaveToFilePNG(s);

Note based on one of your demos I even have added. but the result is the same

ImageEnView1->BackGroundStyle = iebsChessboard;

Thanks for any help you can provide.

Berard
3   L A T E S T    R E P L I E S    (Newest First)
bvsimmons Posted - May 09 2016 : 23:33:17
Thanks for your quick response. I am sending you the requested e-mail now!

Bernard
xequte Posted - May 09 2016 : 23:20:55
Hi

Actually this kind of EMF file should not have been viewable by older versions of ImageEn, because it is EMF+.

Anyway, we have an update that adds support for it. Please email me.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
xequte Posted - May 09 2016 : 15:51:17
Thanks Berard

We are investigating.

Please also email me DRCGraph.emf

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