Mobile app version of vmapp.org
Login or Join
Cugini998

: Delete half transparent pixels in image I need to convert a 16bit png into an 8bit png for size reduction. Problem are the half transparent pixels that will generate a white border around my

@Cugini998

Posted in: #ColorConversion #Png #Transparency

I need to convert a 16bit png into an 8bit png for size reduction.
Problem are the half transparent pixels that will generate a white border around my content when converting to 8bit.
I just want to delete all pixels that are somewhere between 0 and 100% visible.
How would I do it?

Tools available are Photoshop and Gimp (both newest versions).

Here is an example image:

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Cugini998

2 Comments

Sorted by latest first Latest Oldest Best

 

@Jennifer810

To save without semi-transparent pixels as white pixels in Photoshop go to "Export for web" then select PNG 8bit.
Check "Transparency" and select "none" as "Matte" color.
For me this just removes the semi-transparent pixels alltogether.

10% popularity Vote Up Vote Down


 

@Alves566

In the Layers panel, Ctrl+click (or, if on mac Cmd+click) the layer thumbnail to turn its transparency into a selection.
Use Select > Edit in Quick Mask Mode to enter Quick Mask Mode.
Use Image > Adjustments > Threshold and set the Threshold to 255, to remove all transparent pixels.
Push Ctrl+i (or if on mac Cmd + i) to inverse the mask.
Exit Quick Mask Mode with Select > Edit in Quick Mask Mode.
Make sure the layer is selected and press Delete to remove the transparent pixels.


This could be turned into an action.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme