Welcome to TalkGraphics.com
Results 1 to 6 of 6

Thread: webp Problem

  1. #1
    Join Date
    Oct 2000
    Location
    Wiesbaden, Germany
    Posts
    389

    Default webp Problem

    Hi,

    i'm just working on a site containing some light gradients (see attachments). The don't look good in webp (there's some banding). The rest of the site looks good though.

    I cannot find a way to tell xara not to use webp for selected images. Am i missing something?

    thank you,

    FLyClick image for larger version. 

Name:	webp.jpg 
Views:	22 
Size:	18.4 KB 
ID:	129512Click image for larger version. 

Name:	png.jpg 
Views:	23 
Size:	15.2 KB 
ID:	129513

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    13,270

    Info Re: webp Problem

    Quote Originally Posted by FLySOLO View Post
    Hi,
    i'm just working on a site containing some light gradients (see attachments). The don't look good in webp (there's some banding). The rest of the site looks good though.
    I cannot find a way to tell xara not to use webp for selected images. Am i missing something?
    thank you,
    FLyClick image for larger version. 

Name:	webp.jpg 
Views:	22 
Size:	18.4 KB 
ID:	129512Click image for larger version. 

Name:	png.jpg 
Views:	23 
Size:	15.2 KB 
ID:	129513
    FLy, no, you have not. Xara has used its usual sledge-hammer approach - all or nothing.
    The override would be sensibly settable in Image > Web image type so perhaps Xara will spark one day.

    In the meantime, this is one of the approaches I have used: Placeholder - Force PNG for specific Named Images.xar

    Acorn
    Acorn - installed and active Xara software: Cloud+/Pro+, XDPX, XWD Premium 15 & 12, XPGD10, X3D7, Xara Xtreme 5, back through time (to CC's Artworks).
    Raise software faults with MagiXara: http://support.magix.net/; if Cloud+/Pro+: https://xara.com/contact-us/

  3. #3
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    20,468

    Default Re: webp Problem

    The light gradients shouldn't need to be exported as an image at all Fly. Browsers should render these as vector rectangles with a gradient.

    Can you attach your .xar file?
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  4. #4
    Join Date
    Oct 2000
    Location
    Wiesbaden, Germany
    Posts
    389

    Default Re: webp Problem

    Quote Originally Posted by Egg Bramhill View Post
    The light gradients shouldn't need to be exported as an image at all Fly. Browsers should render these as vector rectangles with a gradient.

    Can you attach your .xar file?
    Hey Egg,

    you're right. The gradients were transparencies so this can be fixed in this case. Just tried it. But if i need subtle transparencies in other places they have the same problems of possible compression artefacs.

    There shoul be a way to decide which format should be used for output.

    Dear Acorn, your workaround works . But it would of course cooler to be able to steer this in xara.

    bb,

    FLy

  5. #5
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    13,270

    Info Re: webp Problem

    This is my jQuery approach to force named objects to render as PNGs when WebP is enforced: jQ - Force PNG.xar

    Acorn
    Acorn - installed and active Xara software: Cloud+/Pro+, XDPX, XWD Premium 15 & 12, XPGD10, X3D7, Xara Xtreme 5, back through time (to CC's Artworks).
    Raise software faults with MagiXara: http://support.magix.net/; if Cloud+/Pro+: https://xara.com/contact-us/

  6. #6
    Join Date
    Oct 2000
    Location
    Wiesbaden, Germany
    Posts
    389

    Default Re: webp Problem

    Quote Originally Posted by Acorn View Post
    This is my jQuery approach to force named objects to render as PNGs when WebP is enforced: jQ - Force PNG.xar

    Acorn

    Hey Acorn,

    that's an elegant solution. Very good and easy to use.

    Thank you.

    FLy

 

 

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
  •