Metadata
- Source
- DECA-157
- Type
- Bug
- Priority
- Blocker
- Status
- Closed
- Resolution
- Fixed
- Assignee
- N/A
- Reporter
- James Yoon
- Created
- 2010-07-22T16:49:34.158-0400 
- Updated
- 2012-01-12T10:48:09.427-0500 
- Versions
- 
                        
                        - 0.4
 
- Fixed Versions
- 
                        
                        - 0.5a
 
- Component
- 
                        
                        - genpdf
 
Description
Comments
- 
                        James Yoon commented 2010-07-22T16:50:43.985-0400 inverted images = colour inverted 
- 
                        Colin Clark commented 2010-07-22T18:11:53.457-0400 bug parade decapod 0.4 
- 
                        Jonathan Hung commented 2010-07-23T10:23:25.563-0400 decapod-0003.jpg consistently produces a colour inverted image using Ocropus 0.4.4 and genpdf rev 38. 
- 
                        Jonathan Hung commented 2010-07-23T10:45:46.564-0400 Using the images located here: http://source.fluidproject.org/svn/design/decapod/Resources/Images/Books/D-Day/colour/ The 4th image "04.jpg" is inverted. Also the 13th page is omitted (see issue DECA-58) 
- 
                        Jonathan Hung commented 2011-10-07T11:26:09.569-0400 This problem still persists using Hasan's genpdf script checked out on Oct 6, 2011. Tested using decapod-0003.jpg and D-Day04.jpg. 
- 
                        Jonathan Hung commented 2011-10-07T11:27:56.668-0400 The higher level issue is that genpdf, for Type 1 PDF, should generate a faithful version of the images in PDF form. Therefore converting to binary, greyscale, or colour should all be user-specified. 
- 
                        Jonathan Hung commented 2011-11-11T11:02:24.465-0500 Converting the file to PNG then running genpdf inverts the colour. But, converting to TIFF, then running genpdf DOESN'T invert. So a work-around would be to convert to TIFF first (use the attached TIFF file as an example). The source of the bug, however, is in Ocropus. Tested with genpdf changeset 79:c7ade205dec2 
- 
                        Justin Obara commented 2011-11-14T13:11:57.500-0500 Added tiff conversion to the export workflow. tiff images are now sent to genpdf. This is currently in my bitbucket repo https://bitbucket.org/jobara/decapod-server 
- 
                        Justin Obara commented 2012-01-12T10:48:09.407-0500 tiff conversion was just a workaround, the issue is now picked up in DECA-211 
