On Sat, Jul 16, 2011 at 12:50 AM, Andreas Lehmkuehler <[email protected]>wrote:

> Hi
>
> Am 15.07.2011 23:49, schrieb Sarah:
>
>  Hi,
>>
>> We've encountered some problems rendering pdf files to jpeg; I've
>> narrowed the problem down to a short set of test cases... which turn
>> out to have several different issues, depending on which platform we
>> test them on. I'd like to submit my test case to the issue tracker,
>> but I'm not sure whether to submit it as one bug or four... do the
>> developers have a preference?
>>
> As the described issues seem to be unrelated to each other I would prefer
> four single issues, so that it'll be easier to track the progress.
> You can find our tracker at [1]. Please add all needed information and
> if possible attach a sample pdf to it.


Ok, no problem, I'll submit as four issues, with sample code and PDFs.


>
>> BTW, it is *entirely* possible that I'm just doing something wrong;
>> I'm new to PDFBox. Is there something obviously wrong with my test
>> code?
>>
> I had a quick look and everything seems to be ok.


Thanks!


>     Problem #1: The file "ItDoesntWorkScan.pdf" renders to an empty
>>     black page. This file is a copy of "ItDoesntWorkPrinted.pdf"
>>     that has been printed on paper, and then scanned with
>>     a Xerox WorkCentre 5030 scanner, which then emails a pdf file
>>     back to the user.
>>     Tested On:
>>         - Mac OS 10.6
>>         - Windows 7
>>         - Ubuntu 10.10
>>     Unfortunately, the WorkCentre 5030 doesn't appear to have
>>     many user-settable options for scanning to PDF, so we weren't
>>     really able to try scanning with settings other than the defaults.
>>
> Are you using the most recent version 1.6.0 of PDFBox?


Yes, using 1.6.0.


>     Problem #2: On MacOS, running the headless tests ("ant run-headless")
>>     generates multiple instances of messages like this:
>>
>>         *** __NSAutoreleaseNoPool(): Object 0x10b60a5a0 of class
>>         NSConcreteMapTableValueEnumera**tor autoreleased with no pool
>>         in place - just leaking
>>
> Sounds familiar to me, but I can't remember the details. Did you search the
> mailing list archive [2]


I poked around a little, and did some googling, but didn't come up with
anything conclusive. It seems like this might me an OS X JDK problem rather
than a PDFBox problem, as people seem to have gotten this message in other
contexts... but I'm not sure. I'll try to poke around a bit more just in
case.


> BR
> Andreas Lehmkühler
>
> [1] 
> https://issues.apache.org/**jira/browse/PDFBOX<https://issues.apache.org/jira/browse/PDFBOX>
> [2] 
> http://pdfbox.apache.org/mail-**lists.html<http://pdfbox.apache.org/mail-lists.html>
>

Thanks for your help!

Sarah

Reply via email to