Graphite icon indicating copy to clipboard operation
Graphite copied to clipboard

Implement the pixelated view mode

Open Keavon opened this issue 4 years ago • 2 comments

While in the Pixels view mode, all content should be rendered at the scale of the document's pixels. If zoomed in further, this essentially means that resolution-agnosticism is disabled for the viewport preview and pixels show up. This is useful to see how an image will look when it is exported. This can use the SVG rasterization code in rasterization.ts.

Keavon avatar Jul 31 '21 11:07 Keavon

I don't think this is blocked anymore, is it? @Keavon

TrueDoctor avatar Aug 04 '24 11:08 TrueDoctor

This could be implemented with Vello (in fact, would you like to do that imminently?) but it's probably unwise to enable it with the standard SVG pipeline because that would involve a performance-intensive trip through our SVG rasterizer JS function. This could be implemented so enabling it shows a dialog informing the user that it requires Vello be enabled to work (or even better, switch to Vello if it's supported in the browser, temporarily overriding the user's setting while the mode is active).

Keavon avatar Aug 04 '24 11:08 Keavon

is it not blocked right?

4adex avatar Feb 04 '25 06:02 4adex

I would describe this as soft-blocked, although what I wrote in my previous message remains true. If you wanted to implement it in Vello mode (enabled in the editor preferences), you could. However it would perhaps be better to wait a few months on this.

Keavon avatar Feb 04 '25 06:02 Keavon