Search found 5 matches

by bastardo
2011-12-04T22:24:47-07:00
Forum: Bugs
Topic: convert -shave ruins image quality and strips OCR'd text
Replies: 7
Views: 16867

Re: convert -shave ruins image quality and strips OCR'd text

I don't believe that my scanner creates a vector image. It's a raster image backed by a text representation (the latter added by the OCR), I read that this was one of the pdf file formats.
by bastardo
2011-12-02T00:50:58-07:00
Forum: Bugs
Topic: convert -shave ruins image quality and strips OCR'd text
Replies: 7
Views: 16867

Re: convert -shave ruins image quality and strips OCR'd text

used OCR to convert that to a text PDF (vector)

That's what the OCR does? It sure looks like a bitmap. It zooms like a bitmap.
by bastardo
2011-11-30T16:58:39-07:00
Forum: Bugs
Topic: convert -shave ruins image quality and strips OCR'd text
Replies: 7
Views: 16867

Re: convert -shave ruins image quality and strips OCR'd text

The -density 300 did work, but the file size increased from 100K to 400K. The image quality looks the same. The OCR'd text is still stripped out. The image in the file had been OCR'd, and the OCR'd text is selectable using the usual copy text selection method (on Ubuntu, click and drag the mouse acr...
by bastardo
2011-11-30T15:55:59-07:00
Forum: Bugs
Topic: convert -shave ruins image quality and strips OCR'd text
Replies: 7
Views: 16867

convert -shave ruins image quality and strips OCR'd text

When running the following command: convert in.pdf -shave 20x20 out.pdf on Ubuntu, where in.pdf is a monochrome image of scanned text at 300 dpi, there are two bugs: 1. The image in out.pdf is seriously degraded, to the point where the text goes from crisp to completely unreadable. 2. The OCR'd text...
by bastardo
2011-11-29T20:35:14-07:00
Forum: Users
Topic: using -shave or -trim drastically reduces image quality
Replies: 1
Views: 4154

using -shave or -trim drastically reduces image quality

I have a pdf file which is a book scanned at 300 dpi black & white, 1 bit per pixel. I can never get the paper aligned just so in the scanner, so I get a bit of a border I'd like to trim off. So, I run: convert in.pdf -shave 20x20 out.pdf which certainly does shave 20 pixels off of each side of ...