Welcome to TalkGraphics.com
Results 1 to 8 of 8

Threaded View

  1. #8
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,882

    Thumbs down Re: PNG with transparent background and shadow .. no longer handled correctly

    Eight weeks on.
    I have had to resort to another fudge.

    Clone the image.
    Set it back and change to Flat Fill.
    Change its colour.
    Add a Feather.
    Soft-group.


    Xara has used a box-shadow property. The box-shadow property creates a rectangular shadow behind an element's entire box.
    Xara should have used the filter: drop-shadow() function.

    I created a cut-out PNG and a wall shadow and extracted the box-shadow property values.
    I then removed the shadow and added the CSS for the box-shadow property back:
    <style>
    #charm {
    box-shadow: -172px 66px 11px rgba(255,130,0,0.25);
    }
    </style>
    This replicated the current Xara FAIL.

    I reworked the CSS to suit the drop-shadow filter function:
    <style>
    #xyz {
    filter: drop-shadow(-172px 66px 11px rgba(255,130,0,0.25));
    }
    </style>
    Works as expected.

    @Xara - please put this required fix to the top of your pile as you have missed it off v23.8 out today.

    Acorn
    Last edited by Acorn; 03 April 2024 at 05:07 PM.
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •