pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven M Burg <st...@burgworld.com>
Subject Re: RubberStampWithImage sample
Date Wed, 05 Mar 2014 22:04:48 GMT
Also same results when I convert the image to PNG.


Steve



On 3/5/2014 1:13 AM, Tilman Hausherr wrote:
> Ouch, I see the problem is different (after you told that it happens 
> with every image), it is not because of the PDF but because of the image.
>
> The encoder wouldn't work either in 1.8. I haven't tested it with 2.0.
>
> Before doing this, could you please convert that image to PNG and try 
> the same and tell what happens?
>
> Also try with the 2.0 version
> https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.0-SNAPSHOT/

>
>
> Tilman (sorry, very busy, so I don't test myself)
>
>
>
> Am 04.03.2014 23:03, schrieb Tilman Hausherr:
>> Steven,
>> If your file isn't confidential, could you please attach it to
>> https://issues.apache.org/jira/browse/PDFBOX-52 ?
>> If you don't want to register, send the file to  tilman at snafu dot de.
>> Tilman
>>
>> Am 04.03.2014 19:35, schrieb Steven M Burg:
>>> How can the released version support JPEG files but not support DCT? 
>>> Isn't DCT the form of compression used in all JPGs?
>>>
>>>
>>>
>>> On 3/4/2014 11:45 AM, Tilman Hausherr wrote:
>>>> Am 04.03.2014 15:03, schrieb sketh24:
>>>>> Mar 3, 2014 4:24:24 PM 
>>>>> org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectImage 
>>>>> getColorSpace
>>>>> INFO: About to return NULL from unhandled branch. filter = 
>>>>> COSName{DCTDecode}
>>>>>
>>>>> When opened in Acrobat, the resulting PDF file displays the 
>>>>> message: "An error exists on this page. Acrobat may not display 
>>>>> the page correctly."
>>>>
>>>> This looks like two problems:
>>>> 1) Your file is broken
>>>> 2) The released version does not support DCT.
>>>> https://issues.apache.org/jira/browse/PDFBOX-52
>>>> The unreleased 2.0 version does. You can get it with svn.
>>>> Tilman
>>>>
>>>
>>
>
>


Mime
View raw message