To set the image resolution (or pixel density) of an artboard, use the export feature in Sketch.
- In Sketch, select the artboard.
- Click Make Exportable in the Inspector panel to open the Presets panel.
- Choose the desired size setting (ex. 2x).
The settings will be applied when the artboard is imported to Gallery.