I am using ItextSharp for creating pdf on the fly. I want to insert the eps file, but giving me error saying this.eps is not a recognized imageformat there any way work around this?
Who is Participating?
ki_kiConnect With a Mentor Commented:
you can use an online converter:
Rahul Goel ITILSenior Consultant - DeloitteCommented:
you need to convert your eps file into jpeg or png. that can be used in Itextsharp.
1jawsAuthor Commented:
how can I do that , can you help?
AswinKrishnanConnect With a Mentor Commented:
You can convert the eps file to Jpeg on the fly using ImageMagick's command line tool from your code.

ImageMagick® is a software suite to create, edit, and compose bitmap images.  It can read, convert and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
1jawsAuthor Commented:
thanks all!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.