2

I have created a right arrow with Pen Tool, enter image description here.

The layer is enter image description here

Now I want to crop the right arrow only. I have tried slice tool but I get

enter image description here

which have a white background.

But what I want is only the grey right arrow.

How could I get it?

Thanks.

1
  • you can do it manually as it written below, or if you will be doing it a lot of time, this plugin save you much time getenigma64.com
    – Lukaydo
    Oct 21, 2013 at 6:47

2 Answers 2

4

Duplicate the layer in question, Right click it (in the layers tab) and click rasterize layer. enter image description here

Now you have it singled out, without a mask or background. You can put it in its own document and save it as a PNG or GIF, saving transparency.

Edit: In reply to your comment, A quick way to export with multiple (or even single) layers, is to do the following: It only exports layers that are visible, unless you specify otherwise. enter image description here

There is also another method:

Create a new document, then click and drag the layer you want isolated to the new document, crop around it and make you you've disabled your background layer, then save as GIF or PNG.

3
  • thanks for your answer. I tried to save the arrow with transparency background but I failed(I followed this tut myjanee.com/tuts/save/savexgifs.htm).Why?
    – Jichao
    Feb 23, 2011 at 6:55
  • @Jichao - I edited my post, and the tutorial you posted should work.
    – Hanna
    Feb 23, 2011 at 7:02
  • 2
    @Jichao - A thought just occured to me, make sure that your background layer is TURNED OFF, else it will save with your other layers.
    – Hanna
    Feb 23, 2011 at 7:04
3

To merely just crop the custom shape:

Ctrl-click or -click the shape's Vector mask thumbnail in the Layers window to choose all the shape's pixels. Then select ImageCrop to crop to selection.

However, slicing should work fine. Just make sure all layers (including the Background layer, as @Johannes commented) behind the shape layer are OFF. If you need the background layer, do the Save for Web & Devices… step in two runs: one with the background and one without; you could always choose which slices you want to save per saving.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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