Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

I am trying to add a stroke to an imported image, but the stroke never shows. Help why it not work?

Explorer ,
Mar 30, 2024 Mar 30, 2024

See attached video. I just want to add a stroke to the images in my AI project but the stroke never shows. What's wrong? How do I get the stroke to show?

TOPICS
How-to
4.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Mar 30, 2024 Mar 30, 2024

Pixel-based images placed or embedded into an Adobe Illustrator document can't have strokes added directly to them. Even tricks with the Appearance panel don't work. The solution is creating a box the same size as the pixel-based image, applying a stroke to that box and then aligning it to the image. Move the box behind the image if the line stroke needs to be set behind the image.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 31, 2024 Mar 31, 2024

The big question is why this feature is limited to shapes only? why it can't be applied directly the imported objects?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 31, 2024 Mar 31, 2024

You may try to add a stroke in the Appearance panel. 

The image must be embedded and the stroke needs to have an Outline Object Effect applied.

You can make it an Object Style.

Screenshot 2024-03-31 at 10.30.03.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 30, 2024 Aug 30, 2024
LATEST

This is just the tip I've been looking for.  It worked perfectly with an image I needed to outline. I was dreading having to draw a rectangle the same size because the image was also skewed in the layout, and I'd have had to match that as well.  This worked great.  Thanks so much!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 31, 2024 Mar 31, 2024

It doesn't need to be embedded. Use a Convert to shape effect on the stroke

Bildschirmfoto 2024-03-31 um 13.38.45.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 31, 2024 Mar 31, 2024

Yes, it behaved a little wonky, but trying again with a linked file works too.

Screenshot 2024-03-31 at 13.49.27.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 31, 2024 Mar 31, 2024

I figured it out I did effect > path > outline object and now the stroke shows

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 31, 2024 Mar 31, 2024

Good to hear that worked.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines