Re: [iText-questions] How Verify Pades LTV from code?

2014-05-27 Thread iText mailing list
On 5/27/2014 5:17 PM, Andrés wrote: > I signed a pdf document using itext 5.0, and would like to check that it > meets the PADES-LTV format. iText 5.0 doesn't support the PAdES-LTV format, you need a more recent version of iText to do that. Once you use a more recent version, read the final chapt

[iText-questions] How Verify Pades LTV from code?

2014-05-27 Thread Andrés
I signed a pdf document using itext 5.0, and would like to check that it meets the PADES-LTV format. How can I check from code? I appreciate your comments. Regards, -- View this message in context: http://itext-general.2136553.n4.nabble.com/How-Verify-Pades-LTV-from-code-tp4660016.html Sen

Re: [iText-questions] colorspace exception during images extraction on a existing pdf

2014-05-27 Thread giansluca
thanks ... yes i understand! i i know that ImageIO doesn't support images with colorspace CMYK (JPG, TIFF yes), if i call the method getBufferedImage() on PdfImageObject object i get IIOException .. but is ok because i can get the byte array on PdfImageObject :) i added support for get that type o

Re: [iText-questions] Problem with remaining space

2014-05-27 Thread iText mailing list
On 5/27/2014 6:30 PM, Aritz wrote: Could you please help me? I could send some examples if you want Send us a SSCCE and tell us which version of iText you're using. If the version isn't recent, there's very little chance we'll be able to help because the table functionality has been rewritten

[iText-questions] Problem with remaining space

2014-05-27 Thread Aritz
Hi all, I have a problema while calculating the remaining space of the page (in order to check if some content will fit in). Let me explain the scenario: I have two tables, the first one contains a title (paragraph) for the second table, and the second one contains some content. Both o

[iText-questions] [SPAM] Re: put /ProcSet to /AP Dictionary

2014-05-27 Thread mkl
Florian, Gruber, Florian wrote > Why exactly would digital signatures in PDFs based on specs prior to v1.7 > no longer considered to be safe? In addition to Bruno's answer consider that *ProcSet is considered obsolete since PDF 1.4*. Thus, the verification software either is based on PDF < 1.3 o

Re: [iText-questions] put /ProcSet to /AP Dictionary

2014-05-27 Thread iText Info
Gruber, Florian (ext) schreef op 27/05/2014 16:16: > I would need this entry for a verifier which produces otherwise an exception! So you're telling me that the verifier demands the presence of a dictionary that is deprecated... That is very strange. We can fix this, but I suggest that we contin

Re: [iText-questions] put /ProcSet to /AP Dictionary

2014-05-27 Thread iText Info
Gruber, Florian (ext) schreef op 27/05/2014 16:16: > Why exactly would digital signatures in PDFs based on specs prior to v1.7 no > longer considered to be safe? Some types of signatures have been deprecated in ISO-32000-1. Some more will be deprecated in ISO-32000-2. Some countries refuse to ac

Re: [iText-questions] put /ProcSet to /AP Dictionary

2014-05-27 Thread Gruber, Florian (ext)
Hi, thank you for the quick answer. I would need this entry for a verifier which produces otherwise an exception! Why exactly would digital signatures in PDFs based on specs prior to v1.7 no longer considered to be safe? best regards, Florian -Ursprüngliche Nachricht- Von: iText Info

Re: [iText-questions] colorspace exception during images extraction on a existing pdf

2014-05-27 Thread Leonard Rosenthol
Actually, it is NOT a JPEG with a CMYK profile. The colorspace that you showed in the error: [/Indexed, /DeviceCMYK, 244, 274 0 R] 1 - That means that the data is indexed, which can¹t be used with JPEG data. 2 - As it says DeviceCMYK that means that the data is (most likely) raw CMYK numbers and n

Re: [iText-questions] colorspace exception during images extraction on a existing pdf

2014-05-27 Thread iText Info
giansluca schreef op 27/05/2014 11:31: > strange because the image is a JPG with CMYK profile ... i can open pdf in > photoshop and see or save image correctly .. Well, there's nothing wrong with the PDF, nor with the image, it's just that iText relies on the Java ImageIO class and this class doe

Re: [iText-questions] colorspace exception during images extraction on a existing pdf

2014-05-27 Thread giansluca
ok thanks! ... strange because the image is a JPG with CMYK profile ... i can open pdf in photoshop and see or save image correctly .. Gian -- View this message in context: http://itext-general.2136553.n4.nabble.com/colorspace-exception-during-images-extraction-on-a-existing-pdf-tp4660004p466

Re: [iText-questions] put /ProcSet to /AP Dictionary

2014-05-27 Thread iText Info
Gruber, Florian (ext) schreef op 27/05/2014 12:12: > is it possible to put the /ProcSet Entry to the /AP dictionary at the > signature process with itextsharp? Digital signatures in PDFs based on specs prior to PDF 1.7 are no longer considered to be safe. Beginning with PDF 1.4, ProcSet is cons

[iText-questions] put /ProcSet to /AP Dictionary

2014-05-27 Thread Gruber, Florian (ext)
Hi, is it possible to put the /ProcSet Entry to the /AP dictionary at the signature process with itextsharp? I tried the following code, but it didn´t work: PdfStamper stamper = PdfStamper.CreateSignature(reader, ms, '\0', null, true); PdfSignatureAppearance appearance = stamper.SignatureAppeara