GraphiteEditor / GraphiteEditor/Graphite

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

Open
#2,882 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
27.2k
Forks
1.3k
Avg merge
20h 5m
Merged PRs (30d)
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.

Contributor guide

No contributing guide indexed for this repository

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.