jaragunde opened a new pull request, #990:
URL: https://github.com/apache/poi/pull/990

   Add PictureShape.getAlpha() method and implementations for HSLF and XSLF. 
Then make use of it in DrawPictureShape to apply the right alpha value to the 
picture being drawn.
   
   Fixed a bug in BitmapImageRenderer that considered alpha value 0 as "fully 
opaque", when it means "fully transparent" instead.
   
   Finally, added a test for this feature in TestDrawPictureShape for XSLF. A 
test for HSLF could not be created because it was not possible to generate a 
test file with today's tools; MS Office removes the bitmap transparency effect 
when saving as .ppt, and LibreOffice blends it into the bitmap.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to