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

Transparency and shadow problems while exporting

New Here ,
Mar 11, 2019 Mar 11, 2019

Hi everyone,

I'm working on a website for a client and I'm experimenting with transparency and shadow effects for the first time. We've incorporated these "paper cut" effects throughout the website, but the effect isn't the same when I export as a PNG. The below screenshot is essentially what the effect should look like on a solid color background or white/transparent.

Webp.net-resizeimage.jpg

Now the idea is to have these "paper cuts" attached to a photo that floats over the parallax background on the website. Something like below. In this particular example, the two paper cut shadows would be grouped with the photo of the puppy and exported as one PNG.

Screen Shot 2019-03-11 at 10.48.11 AM.png

Here is a shot of my export settings:

Screen Shot 2019-03-11 at 10.28.30 AM.png

And here is the result:

Screen Shot 2019-03-11 at 10.55.02 AM.png

Screen Shot 2019-03-11 at 10.31.17 AM.png

I'm hoping that it's a simple fix and I just need to adjust colors or something. I've exhausted my resources and I need some help from you guys.

Thanks in advance! I'd be happy to offer up any more information if needed.

Working in CC on MacBook Pro Mojave 10.14.3

7.5K
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 11, 2019 Mar 11, 2019

I don't understand how you combine these elements.

Do you combine photo and PNG in Illustrator?

Or do you put the PNG on top of the photo in HTML?

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
New Here ,
Mar 11, 2019 Mar 11, 2019

Hi Monika, thanks for the reply.

I combine the photo and PNG shadows in illustrator. In the example above, the shadow elements sit behind the photo on the same layer. I then group them together and export as PNG. Then I drop this PNG into the HTML editor (in this case, I'm using Squarespace).

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 11, 2019 Mar 11, 2019

But your screenshot doesn't show the shadow with the image in the export dialog box.

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
New Here ,
Mar 12, 2019 Mar 12, 2019

I didn't use the photo in my original export dialog for the screenshot I posted in the question. But please see below:

Screen Shot 2019-03-12 at 9.24.28 AM.png

The artboard on the left is 3 objects on 1 layer (top shadow, photo, bottom shadow). As separate objects, the shadow effects work properly. I then group them together and export as PNG with the settings below. The right artboard is the result. As you can see the transparency of the shadow is filled in with white and I lose the effect.

Screen Shot 2019-03-12 at 9.22.28 AM.png

I also tried Save For Web option, but that gave the same results.

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 11, 2019 Mar 11, 2019

Hi yes use save for web option for saving this then hope you get your problem fixed...Thanks

Ali Sajjad / Graphic Design Trainer / Freelancer / Adobe Certified Professional
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
New Here ,
Mar 12, 2019 Mar 12, 2019

Hi lambiloon. Thanks for your reply.

I used the Save For Web option with the below settings.

Screen Shot 2019-03-12 at 9.28.27 AM.png

The results were the same as grouping the objects and exporting to PNG. The left artboard is the original artwork (shadow 1, picture, shadow 2 on 1 layer) and the right artboard is the result.

Screen Shot 2019-03-12 at 9.29.56 AM.png

Do I need to change something in the settings for this option to work?

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 12, 2019 Mar 12, 2019

Can you try exporting to PNG-24 with Transparency instead of GIF?

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
New Here ,
Mar 12, 2019 Mar 12, 2019

Thanks for your reply.

The left artboard is the original artwork (shadow 1, picture, shadow 2 on 1 layer) and the right artboard is the result as PNG-24 with transparency. Still the same problem (maybe even a bit worse?)

Screen Shot 2019-03-12 at 10.28.02 AM.png

Below are the settings used to export as Save For Web PNG-24:

Screen Shot 2019-03-12 at 10.26.31 AM.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 12, 2019 Mar 12, 2019

You can't work with "Multiply".

You need to make the shadow using reduced opacity.

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
New Here ,
Mar 12, 2019 Mar 12, 2019

I don't follow. You want me to change the blending mode from multiply to normal? And then reduce opacity in the transparency panel? How would this solve the problem?

Btw thanks for all your replies Monika, much appreciated.

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 12, 2019 Mar 12, 2019

You have to create that blend from black 100% to black 0%

Only then you can export a PNG 24 that has transparency it it.

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 12, 2019 Mar 12, 2019

Try to select all then create outlines then try to export it

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
New Here ,
Mar 12, 2019 Mar 12, 2019

Thanks for the reply Mariam, but I'm not working with type. I did try to convert all strokes to outlines, but that didn't work either

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 12, 2019 Mar 12, 2019

You need to do it like this: https://www.dropbox.com/s/cr0ub38jwkoir86/shadow.ai?dl=0

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 Beginner ,
Sep 29, 2021 Sep 29, 2021

I'm  having the same problem. Illustrator used to be able to do this [remarks removed by moderator]

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 ,
Sep 29, 2021 Sep 29, 2021
LATEST
quote

I'm  having the same problem.


By @ShellyDSmith

 

Which problem exactly?

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