Drawing an image from a SVG file

Discussions about image processing and document imaging.
Post Reply
elisacosta
Posts: 15
Joined: Fri May 19, 2017 3:08 pm

Drawing an image from a SVG file

Post by elisacosta » Thu Apr 29, 2021 3:41 pm

Hi all,
I'm using GdPicture.NET 12.

I'd need to draw a picture reading an SVG file.
I'm using methods of TbPicImaging:

public int CreateGdPictureImageFromMetaFile(
string FilePath
)
+
public GdPictureStatus DrawGdPictureImageOnHDC(
int ImageID,
IntPtr hdc,
int DstLeft,
int DstTop,
int DstWidth,
int DstHeight,
InterpolationMode InterpolationMode
)

they seem to work but some colors present in source image are missing in the drawn.
I attached the 2 PNG files showing the original aspect and the result after having read image with CreateGdPictureImageFromMetaFile method.

Should I use a different way?

Thank you very much

Best regards

Elisa Costa
Attachments
souceSVG.PNG
GDPictureSVG.PNG

Hugo
Posts: 89
Joined: Tue Dec 18, 2018 10:09 am

Re: Drawing an image from a SVG file

Post by Hugo » Fri Apr 30, 2021 2:42 pm

Hi Elisa,

Thank you for your question.

Regarding SVG files, if you are experiencing potential bugs I would suggest you try this in our latest version GdPicture V14 as it surely presents improvements for you on this.

If your issue persists please send us a ticket here and we'll look further into it:
https://orpalis.zendesk.com/hc/en-us/requests/new

Regards,
Hugo

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest