This is a migrated thread and some comments may be shown as answers.

Inserting raw image data into a report

1 Answer 131 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kevin J
Top achievements
Rank 1
Kevin J asked on 28 Feb 2018, 04:14 PM

I have a report that needs png images of signatures on it. I have the raw image data stored in my database which looks like this,

"‰PNGIHDR  ´     àÀÄÙ    IDATx^읛ÅÒ…Ž8À9øþÿ!:‚³
gÃWï™>s[ciw$vWëê{ûckW35NW:õÅÑFÙÒi´@Z -H ¤Ò+j/Юè›ËÛN ¤Òi´@Z -Ðæ@H ¤Òi´@Z -Xi $ ]é×—7ŸH ¤Òi´@Z -€6Ç@Z -H ¤Òi´ÀJ[ íJ¿¾¼ù´@Z -H ¤Òi´9Òi´@Z -H "

This data is accessible by my datasource. When I set the value of my picturebox to this field and change the mimetype to "image/png" I get an error that reads "Invalid image data"

When I was using SSRS I would use PDF# and VB code to render this report into a pdf and the signatures into  system.drawing.image objects and then draw them onto the pdf with x and y coordinates.

What I would really like to do is have this data render to an image in a Picturebox on my report so I no longer have to programatically place signatures onto a pdf of my report after is has been rendered as a pdf. I would like to see the signatures on my report in the reportviewer.

 

Is this possible? thank you!

-Kevin

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 05 Mar 2018, 10:50 AM
Hi Kevin,

We have answered your questions in the support ticket (Id# 1155526) you have opened on the same issue.
We would continue our discussion there.

Regards,
Todor
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Kevin J
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or