• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Real Book Extractor
#11
I've knocked this up in too much of a hurry. It works with everything I have here, but there's obviously more variety in formats than I realised. Always writing the files out with a jpg extension is an obvious mistake. I need to check the images I'm retrieving from the pdf and see what format they are. That doesn't explain why renaming them to png doesn't work.

The only thing I'm using iTextSharp for is to convert pdfs with iref streams into the older format, so they can be read by PdfSharp, which has a much easier to use API. I used the old version of iTextSharp because it has a less restrictive licence, although given that I've open sourced my program I suppose I might as well use a more recent version. The PdfSharp team have been saying they will try to support iref streams for about 5 years, but they aren't making enough from donations for anyone to be willing to commit to doing it.

I have come across a couple of pdfs on my disk that it can't get the sheets out of at all. They aren't stored as images but are actually rendered by Acrobat. I think I probably downloaded them from Wikifonia. I don't think I want to put the work in to deal with those.

GraemeJ, is there any chance you could send me a copy of the pdf? I promise I'll delete it once I get it working.
Reply


Messages In This Thread
Real Book Extractor - by trevorprinn - 11-11-2014, 10:12 PM
RE: Real Book Extractor - by GraemeJ - 11-12-2014, 01:27 AM
RE: Real Book Extractor - by trevorprinn - 11-12-2014, 01:53 AM
RE: Real Book Extractor - by trevorprinn - 11-12-2014, 03:09 AM
RE: Real Book Extractor - by GraemeJ - 11-12-2014, 03:34 AM
RE: Real Book Extractor - by trevorprinn - 11-12-2014, 05:06 AM
RE: Real Book Extractor - by GraemeJ - 11-12-2014, 05:35 AM
RE: Real Book Extractor - by popoff - 11-12-2014, 06:05 AM
RE: Real Book Extractor - by GraemeJ - 11-12-2014, 06:49 AM
RE: Real Book Extractor - by popoff - 11-12-2014, 07:02 AM
RE: Real Book Extractor - by trevorprinn - 11-12-2014, 10:52 PM
RE: Real Book Extractor - by GraemeJ - 11-12-2014, 11:15 PM
RE: Real Book Extractor - by trevorprinn - 11-12-2014, 11:47 PM
RE: Real Book Extractor - by trevorprinn - 11-13-2014, 05:50 AM
RE: Real Book Extractor - by GraemeJ - 11-13-2014, 07:12 AM
RE: Real Book Extractor - by trevorprinn - 11-13-2014, 09:03 AM
RE: Real Book Extractor - by GraemeJ - 11-13-2014, 10:37 AM
RE: Real Book Extractor - by pax_eterna - 11-30-2016, 03:32 AM
RE: Real Book Extractor - by trevorprinn - 11-30-2016, 04:36 AM
RE: Real Book Extractor - by pax_eterna - 11-30-2016, 01:23 PM
RE: Real Book Extractor - by trevorprinn - 12-01-2016, 01:40 AM
RE: Real Book Extractor - by gajatko - 11-14-2019, 08:45 AM
RE: Real Book Extractor - by itsme - 11-14-2019, 05:45 PM



Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.