microfiche test images failed after uploader

Bug #199310 reported by JP
2
Affects Status Importance Assigned to Milestone
Microfilm
New
Undecided
Unassigned

Bug Description

http://www.us.archive.org/log_show.php?task_id=24710213

Microfiche images taken by Mekel in Washington and FTPed to the archive were uploaded using the microFILM uploader.

identifier for the item is "fichetest3"

an excerpt from the task_log:

Running RePublisher-Preprocess BookItemOperation $Revision: 1.19 $ $Date: 2008-02-26 20:57:58 $
Executing: rm -rf /tmp/bookops/fichetest3//*
Processing /1/items/fichetest3/0001@00.jpg...
mflm-skewDetectGray: mflm-skewDetectGray.c:56: int main(int, char**): Assertion `8 == depth' failed.
Aborted (core dumped)

Revision history for this message
danh (danh-archive) wrote :

It looks like this bug is being caused because the file being processed 0001@00.jpg is stored "in color" (space YCbCr), and so when unpacked in leptonica has depth 32 rather than 8, which the program mflm-skewDetectGray is expecting.

Solution might be to modify the program (mflm-skewDetectGray) so that it accepts color and flattens it out.

However must discuss this with Raj to see if it's halfway reasonable.

Revision history for this message
danh (danh-archive) wrote :

Talked to Raj about this, he said it would be a reasonable course of action (change mflm-skewDetectGray to accept "color" images). He suggested using code similar to that in scribeImageOps.c for the grayifying.

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.