0

I have created an artboard with some shapes overlay on each other. I want create a png export from the red one.(its actual size is 111*111) but when I drag and drop the red layer to the finder, its dimension is 232 × 311. it includes transparent pixels.

how can I export the layer with its exact size? enter image description here I don't want to use slices. because it will includes other layers.

1

OK so when I opened the file the oval was 215x215... I just clicked on export on the bottom right and it exported normally without any of the other shapes in the background or size problems.

Export Button enter image description here

  • I think there is something wrong with my sketch app after deleting and installing it again it doesn't trim transparent Pixel. – Hashem Aboonajmi Jan 7 '15 at 6:33
0

Hashem I'm super late, but if you haven't already found the answer, give this a shot. On the top right when you've highlighted the layer you want to export, check the box that says 'trim transparent pixels'

Alternatively, you could just move that one shape onto another art board and then slice it.

enter image description here

  • I just want to drag and drop my shapes to desktop. If I add an slice to them I have to check trim transparent pixels and export group contents only repeatedly for every object. thats cumbersome. Im looking for a way to just drag and drop my shapes. Sketch should be smart enough to know I want only the shape without any transparent pixel but it seems it doesn't knoW or I don't know! – Hashem Aboonajmi Jan 3 '15 at 12:13
  • can you send me the sketch file to help me better understand – bhashem Jan 3 '15 at 21:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.