GoogleChromeLabs/squoosh

Trim transparent pixels

Open

#1070 opened on Jun 23, 2021

View on GitHub
 (3 comments) (1 reaction) (0 assignees)TypeScript (20,335 stars) (1,431 forks)batch import
UIcodechelp wanted

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

Contributor guide