GraphiteEditor / GraphiteEditor/Graphite

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

Đang mở
#2,882 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
27.2k
Fork
1.3k
Merge trung bình
20 giờ 5 phút
Pull request đã merge (30 ngày)
57

Mô tả

## 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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu bằng cách lần theo pipeline xuất vector và nút rasterize được mô tả trong issue. Xác định cách các tùy chọn xuất cung cấp DPI của tài liệu và cách các nguồn ảnh hoặc raster có thể nhận một bước rasterization có giới hạn. Được xem là hoàn tất khi một hộp kiểm xuất áp dụng DPI của tài liệu cho các nguồn đó khi xuất sang định dạng vector, mà không thay đổi các ảnh nguồn.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
rust
Lĩnh vực
computer-graphics
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.