GoogleChromeLabs/squoosh

Trim transparent pixels

Open

#1 070 ouverte le 23 juin 2021

Voir sur GitHub
 (3 commentaires) (1 réaction) (0 assignés)TypeScript (1 431 forks)batch import
UIcodechelp wanted

Métriques du dépôt

Stars
 (20 335 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Is your feature request related to a problem? Please describe.

When I receive product shots from the design team they often contain lots of whitespace in the form of transparent pixels around the item. I need a way to remove that transparency and change the image dimensions to fit the actual content of the image.

Describe the solution you'd like

Trim transparent pixels around the content of the image. Similar to the Image > Trim... > Transparent Pixels feature in Photoshop.

Does other service/app have this feature?

Yes, see https://www.photopea.com/

Additional context

Guide contributeur