poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Fisher <dfis...@jmlafferty.com>
Subject Re: Question about POI hwpf.usermodel.Picture object.
Date Mon, 04 Oct 2010 23:18:14 GMT

If you look at the source you will find the difference.


Line 318	  private void fillImageContent()

322	    // HACK: Detect compressed images.  In reality there should be some way to determine
323	    //       this from the first 32 bytes, but I can't see any similarity between all
324	    //       samples I have obtained, nor any similarity in the data block contents.
325	    if (matchSignature(rawContent, COMPRESSED1, 32) || matchSignature(rawContent, COMPRESSED2,
326	    {
327	      try

What do you think this means?

BTW - Nick and other have generously offered help. Please take a more careful look. If you
lost any of these replies there are archives available:



On Oct 3, 2010, at 3:56 PM, Zachary Mitchell wrote:

> Can anyone kindly tell me what the difference between
> Picture.getContent()
> and
> Picture.getRawContent() 
> is?

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

View raw message