mflm-skewDetectGray does not read from /dev/stdin

Bug #803148 reported by danh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Microfilm
New
Undecided
Unassigned

Bug Description

The program mflm-skewDetectGray is conditionally invoked in RePublisherPreprocess as part of the procedure to create proxy images.

Sometimes it is invoked on /dev/stdin, with the input extracted from a tarfile by 7z.

This does not in general work, as the routine that mflm-skewDetectGray uses to read its input (which i believe is part of leptonica) will not read /dev/stdin. (The routine is pixRead().)

(Possible fixes would include either changing the way mflm-skewDetectGray is invoked, or changing the way it reads its input.)

Hank has also suggested that there's a slight chance that we might be able to avoid the issue by just changing /dev/stdin to something looking more like an ordinary file, such as a symbolic link to /dev/stdin.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.