Solved

ITextsharp

Posted on 2009-07-13
5
1,214 Views
Last Modified: 2012-05-07
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 ..is there any way work around this?
0
Comment
Question by:1jaws
5 Comments
 
LVL 9

Expert Comment

by:Rahul Goel ITIL
ID: 24846849
you need to convert your eps file into jpeg or png. that can be used in Itextsharp.
0
 

Author Comment

by:1jaws
ID: 24846882
how can I do that , can you help?
0
 
LVL 4

Accepted Solution

by:
ki_ki earned 250 total points
ID: 24852017
you can use an online converter:
http://www.converthub.com/epstojpg.php
0
 
LVL 3

Assisted Solution

by:AswinKrishnan
AswinKrishnan earned 250 total points
ID: 24857595
You can convert the eps file to Jpeg on the fly using ImageMagick's command line tool from your code.

www.imagemagick.org

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.
0
 

Author Closing Comment

by:1jaws
ID: 31603110
thanks all!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question