W
W
weranda2020-10-24 11:52:59
Images
weranda, 2020-10-24 11:52:59

How to trim white space in .png files?

Greetings.
There are many .png images that need to be stripped of empty transparent space, i.e. cropped to the edges of the visible part of the image and eliminated vertical and horizontal empty spaces. Here's an example: 5f93eb36bf4e5082760130.png
Are there any programs to do this so that everything is automated?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danny Arty, 2020-10-24
@DanArst

Download Photoshop -> Open a PNG file -> Click once on the layer while holding down the ctrl key ->
in the end you will have an image selected without a transparent area -> copy the selected area and create a new document with the dimensions from the clipboard and a transparent background -> paste copied image.
Now there will be no extra horizontal and vertical indents.
Before
5f93edc90018c014232329.jpeg
Where to click (hold ctrl and LMB on the layer image)
5f93ed7e78d04940557809.jpeg
After
5f93edea166c5158329543.jpeg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question