[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poi-dev
Subject:    [Bug 53446] New: [PATCH] Fix some problems extracting PNGs
From:       bugzilla () apache ! org
Date:       2012-06-21 5:34:15
Message-ID: bug-53446-47293 () https ! issues ! apache ! org/bugzilla/
[Download RAW message or body]

https://issues.apache.org/bugzilla/show_bug.cgi?id=53446

          Priority: P2
            Bug ID: 53446
          Assignee: dev@poi.apache.org
           Summary: [PATCH] Fix some problems extracting PNGs
          Severity: normal
    Classification: Unclassified
          Reporter: luke@nuix.com
          Hardware: PC
            Status: NEW
           Version: 3.9-dev
         Component: POI Overall
           Product: POI

Created attachment 28974
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28974&action=edit
The patch to fix extraction problems.

HSLF had some code to chop off 16 bytes of "Mac data" from some PNGs; I found
samples of the same thing in Word and Excel so I've applied a similar fix to
those formats too.

Also fixed HSLF to look for the PNG header instead of using ImageIO to load up
the whole image.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic