mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-04 03:35:09 +00:00
This commit expands the functionality of the "Crop Image to Content" and "Crop Layer to Content" features by allowing them to detect and crop the background color of an image instead of just cropping transparent pixels. The background color is determined by looking at the corner pixels of the image. If no background color is found, the old behavior of cropping transparent pixels is retained.
14 KiB
14 KiB