GraphiteEditor / GraphiteEditor/Graphite

Feature Request: export images with a unified DPI of the document resolution

Ouverte
#2,882 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Rust
Étoiles
27.2k
Forks
1.3k
Merge moyen
20 h 5 min
PR mergées (30 j)
57

Description

## The Issue
When you are creating complex svgs with many textures and Images, you often end up with a horrible mix of different DPIs and that is really annoying to deal with when printing or exporting to a pdf. In practice you end up either having to manually downscale all the images - really hard to do in a non-destructive way - or export it wiht DPI ranging from your desired resolution to images that take up up to 10~100x the space they really need to.

## The Fix
Add a checkbox for the export that allows you to chose to automatically downscale images to the document DPI when exporting a vector format.

## The Implementation
Put a rasterize node after each image (or raster) source with its footprint set to the image bounds and the resolution set to a fixed DPI for the export.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start by tracing the vector export pipeline and the rasterize node described in the issue. Determine how export options expose document DPI and how image or raster sources can receive a bounded rasterization step. Done means an export checkbox applies the document DPI to those sources when exporting a vector format, without changing the source images.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
rust
Domaine
computer-graphics
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.