Page 1 of 1

How to get transparent background

Posted: Fri Jul 22, 2016 7:37 pm
by Xanadu
Hello! I tried to convert .hpi files that are supposed to have transparent backgrounds into .png files with transparent backgrounds, but the .png files ended up with white backgrounds. Can anyone tell me the easiest way to end up with transparent backgrounds? Thanks! (I used converter)

Re: How to get transparent background

Posted: Sat Jul 23, 2016 6:00 am
by XnTriq
Welcome to the forum, Xanadu.

XnView opens HPI (Hemera Photo Objects) as multi-page images.

You have to extract both pages, …
  • XnView: View mode » Tools » Multipage file » Extract All Into...
  • XnConvert: Output » Multipage » Convert all pages from multipage file
  • nConvert: -xall (Extract all images)
… and then combine the two using the 2nd page as alpha-channel mask:
  • XnConvert: Actions » Add action >> » Image » Add mask » Use mask as alpha
970801_4864_1003_oslps.hpi (http://www.itsamples.com/hpi-converter.html)
970801_4864_1003_oslps.hpi (http://www.itsamples.com/hpi-converter.html)
p133250.png (211.23 KiB) Viewed 615 times