Welcome to TalkGraphics.com
Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Antialiasing/feathering in Xtereme Pro exports

    I thought I'd have a go at exporting a circle as a png with a transparent background from Xtreme Pro. No matter what settings I use, Xara always seems to want to feather the edges of curves, leaving me with a fringe around the edges of the background colour.

    I tried this exercise (with a circle) in Fireworks and had no fringing at all (OK, a bit jagged, perhaps, but the transparency was perfect, not fringed).

    Can I get a 'perfect' transparency from Xtreme as a png without fringing from the background.

    Paul

  2. #2
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Antialiasing/feathering in Xtereme Pro exports

    Paul do you have a link to an example showing the fringing?

    Are you using True Color with Alpha when you export?

    If you are using 256 color with transparency you must use the same background color in your work as the page the png will be over. That is true with .gif and .png regardless of what application is used to create them.


    A True Color with Alpha .png can be used over any background. However, older web browsers and in particular Internet Explorer before version 7 will have a gray background where the Alpha transparency should be.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	rings.png 
Views:	282 
Size:	21.0 KB 
ID:	37199  
    Last edited by Soquili; 17 April 2007 at 02:30 PM.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  3. #3
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Re: Antialiasing/feathering in Xtereme Pro exports

    Quote Originally Posted by Soquili View Post
    Paul do you have a link to an example showing the fringing?
    It's pretty simple to reproduce.

    I've made a black circle on a document with a red background, then exported the circle as 256 colour transparent png. If you open the png file, you will see that it has a red fringe at the edges.

    This doesn't happen with Fireworks. Xara Circle is bottom left, fireworks circle on right. The fireworks circle was over a transparent background, when imported to Xtreme it has no fringing at all.

    Paul
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	circle_fwks2.png 
Views:	272 
Size:	539 Bytes 
ID:	37200  
    Attached Images Attached Images  
    Attached Files Attached Files
    Last edited by pauland; 17 April 2007 at 02:34 PM.

  4. #4
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Antialiasing/feathering in Xtereme Pro exports

    Paul fireworks is exporting with no antialiasing. That is why it has jaggies. You can do the same from Xtreme, change the view quality before exporting. Windows Menu > Quality > Normal.

    The attachment is the same drawing as my previous post but is 256 color with transparency and view quality set to normal. Notice the jaggies.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	circles.png 
Views:	269 
Size:	4.2 KB 
ID:	37201  
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  5. #5
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Re: Antialiasing/feathering in Xtereme Pro exports

    Thanks Soquili - I hadn't considered changing the view quality as a way of affecting the export. Now I know better!

    Paul

  6. #6
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Antialiasing/feathering in Xtereme Pro exports

    Paul, you are welcome.

    It took awhile before I caught on to the view quality working for the drawing view and the exported image.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  7. #7
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Re: Antialiasing/feathering in Xtereme Pro exports

    Quote Originally Posted by Soquili View Post
    Paul, you are welcome.

    It took awhile before I caught on to the view quality working for the drawing view and the exported image.
    Yes, I think it's a bit of a bizarre way of doing things. Personally I'd expect the export dialog to control what happens, not what I've chosen as my display options. That said, it does allow for some interesting choices, exporting the shape outlines, etc.

    Paul

  8. #8
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,503

    Default Re: Antialiasing/feathering in Xtereme Pro exports

    As you can see, Xara anti-aliases to the page color. And a properly anti-aliased GIF or 8-bit PNG is going to look a whole lot better, not to mention sharper even though the edge is softer.

    There are two things you can do to improve your exported images. Change the page background color by holding down the Ctrl key and dragging and dropping any color from the screen palette onto the screen, or just by placing a larger rectangle under your art that is the color of your web page. Select your objects but not the rectangle, and Xara will anti-alias to the page color or the rectangle color and you will have a much cleaner image than Fireworks.

    Trust me. I'm a doctor. Well, OK I'm not really a doctor, but...

  9. #9
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Re: Antialiasing/feathering in Xtereme Pro exports

    LOL Gary, I trust you, and you were outlining what I would normally do. In this case I was experimenting with a web design in using png combined with CSS layers and irregular shapes. I wanted to use PNG because I didn't want my design to be dependent on which colour overlaid which other, which is the problem with transparent gifs.

    Before anyone chimes in telling me that PNG support is patchy amongst browsers - yes I know - it's just an experiment, though the unaliased images are so bad, I'm going to pass on this one.

    Paul

  10. #10
    Join Date
    Sep 2006
    Location
    Miami, FL
    Posts
    1,091

    Default Re: Antialiasing/feathering in Xtereme Pro exports

    Gary...

    You are always dropping little pearls of wisdom! If I had ever known about using the CTRL key to change background color, I'd forgotten it.

    It's a lot easier than making the background rectangle.

    Thanks...
    ---
    Will

 

 

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
  •