Can I change InkCanvas DPI?

Ivanich 306 Reputation points

There is a good article "Store and retrieve Windows Ink stroke data" on MSDN. But when you save InkCanvas to GIF this way, generated picture has low DPI and small size.

Can I increase quality of image generated by standard call of

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

Accepted answer
  1. Richard Zhang-MSFT 6,936 Reputation points


    Welcome to our Microsoft Q&A platform!

    InkCanvas currently does not provide a corresponding API to do this.

    It should be noted that the purpose of InkCanvas to generate Gif is not to generate a high-quality image, but to embed ISF information (Ink Serialized Format).

    ISF information records detailed data of strokes, which can be loaded at any time through InkCanvas. The loaded strokes are vectorized. Relatively speaking, the Gif we can see is just a preview.


    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Michael Chourdakis 66 Reputation points

    In that case, how do use the IInkd2drenderer to render to a Direct2D device context correctly?

    0 comments No comments