On 3/26/2014 1:47 AM, Ate Peeringa wrote:
Hello,
The sourcecode of iTextsharp core is different than the dll version 5.5.0
The Function iTextSharp.text.Image.GetInstance(System.Drawing.Image, System.Drawing.Imaging.ImageFormat) is missing from the source code!
Can i get a source with the function in place?

You can always find the source code on SourceForge.
The branch for iText 5.5.0 can be found here:
http://sourceforge.net/p/itextsharp/code/HEAD/tree/branches/iTextSharp_5_5_0/

The fact that I can find the following code through that location, proves your allegation to be wrong:

public static Image GetInstance(System.Drawing.Image image, System.Drawing.Imaging.ImageFormat format) {
MemoryStream ms = new MemoryStream();
image.Save(ms, format);
return GetInstance(ms.ToArray());
}

You must have been looking at an unofficial code repository...
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to