VistaStyleBuilder

Tips and Visual Styles => Tips and Tricks => Topic started by: Panda X on March 01, 2011, 06:53:41 pm



Title: Alpha conversion bug workaround. Fixed as of Beta 1.5.4.1
Post by: Panda X on March 01, 2011, 06:53:41 pm
Method 1:

• Shift + Import the image into WSB.
• Open the Preview Window (click the preview pane)
• Hit Export
• Shift + Import the exported image back into WSB.

Method 2:

Last time I asked, it was confirmed an alpha conversion bug.
This bug also creates the ugly pixelated gradient banding/steps which can be seen when your graphic contains transparent gradients to areas like the taskbar.

Strangely, this doesn't show if you use Reshacker/Restorator to replace the images themselves.

Here's how I get around this when using VSB:
1.  [Photoshop] Create image -> Save .PNG
2.  [AlphaConv.exe (http://dl.dropbox.com/u/2073343/Alpha%20Converter.zip)] Convert that .PNG to .BMP
3.  [Photoshop] Select all and Copy Merge the original image (the image in step 1) -> Open newly converted .BMP -> Paste original image on top of converted .BMP and fill in the "Background" layer with black (#000000)
4.  [Photoshop] Save this image as a BMP with File Format: Windows and Depth: 32-bit.
5.  [AlphaConv] Change target format to .PNG and drag the newly created .BMP file into there.  Proper alpha conversion is now applied to this image.

Now replace it in VSB like you do any other image.  The discoloration and gradient banding should disappear and your graphic untouched.
It is a bit of a tedious process, but it gets the job done for now...


Title: Re: Alpha conversion bug workaround.
Post by: Mr GRiM on March 17, 2011, 11:05:50 am
This is very cool, now to find a way of integrating this into the next WSB :)


Title: Re: Alpha conversion bug workaround.
Post by: Panda X on June 23, 2011, 02:34:49 am
Alternative method I just discovered.

• Shift + Import the image into WSB.
• Open the Preview Window (click the preview pane)
• Hit Export
• Shift + Import the exported image back into WSB.

Back in 2008 I labeled this as a bug, however since for whatever reason K-Johnson's method failed on me on this one image I did this and it worked perfectly, so I now call it an undocumented feature.


Title: Re: Alpha conversion bug workaround.
Post by: K-Johnson on June 23, 2011, 09:33:14 am
Alternative method I just discovered.

• Shift + Import the image into WSB.
• Open the Preview Window (click the preview pane)
• Hit Export
• Shift + Import the exported image back into WSB.

Back in 2008 I labeled this as a bug, however since for whatever reason K-Johnson's method failed on me on this one image I did this and it worked perfectly, so I now call it an undocumented feature.

Sweet find, I'll have to try it out.  Thanks for sharing!


Title: Re: Alpha conversion bug workaround.
Post by: Mr GRiM on June 29, 2011, 04:41:33 pm
That's a pretty cool trick, a bit easier then the other way too lol, thanks Panda :)


Title: Re: Alpha conversion bug workaround. Fixed as of Beta 1.5.4.1
Post by: Panda X on January 29, 2013, 11:22:12 am
Fixed as of Beta 1.5.4.1