eclipse-platform / eclipse.platform.images

Eclipse Public License 2.0
12 stars 18 forks source link

Create SVG variants for shared DnD icons #84

Closed ptziegler closed 3 months ago

ptziegler commented 3 months ago

This creates SVG files for all images that can be accessed via ISharedImages.IMG_OBJSDND*, as well as contributes the 100% and 200% zoom png files that have been created from them.

In addition to the already existing files, this also contributes a new variant where the source and mask are merged into a single image.

In order to get the best results when creating the source and mask images, one should disable anti-aliasing.

ptziegler commented 3 months ago

A side-by-side comparison of all icons: The first three rows are the images produced from the current bmp files. The next six lines are the png files without anti-aliasing (both in 96 and 192DPI). The last two lines are the png files with anti-aliasing and both source and mask merged into a single image (also both 96 and 192DPI).

image

HeikoKlare commented 3 months ago

Belongs to https://github.com/eclipse-platform/eclipse.platform.ui/pull/2084 Merging this as the using PR in platform.ui has been merged.

Thank you, @ptziegler!