Welcome to TalkGraphics.com
Results 1 to 10 of 10
  1. #1
    Join Date
    Aug 2006
    Location
    Chester UK
    Posts
    13

    Default PNG transparency problem

    I have created a logo (attached is a png as I could not figure how to add the coreldraw drawing) to use on my website. The plan was to add this to a coloured banner.

    When I first exported this as a PNG a white box surrounded the logo. I managed to eliminated this by selecting masked area.

    However the white circle within the logo is not transparent and when placed on a coloured banner it appears as a white circle.

    Can someone please explain to me how I achieve this.

    A point that might be relevant. I am using Coreldraw Essentials 2 which I believe is a slightly simplified version of Coreldraw 11
    Attached Images Attached Images  
    IP

  2. #2

    Default Re: PNG transparency problem

    When you export from a vector as a PNG the masked area is all the empty space. If you used a white object for the white circle, the space is not empty. You have to trim out the object to create an empty space. Try checking it on a colored background before exporting.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	empty_space_sample.png 
Views:	398 
Size:	14.6 KB 
ID:	39635  
    Last edited by Aunt Betsy; 07 July 2007 at 11:43 PM. Reason: Add sample graphic
    Aunt Betsy
    IP

  3. #3
    Join Date
    Aug 2006
    Location
    Chester UK
    Posts
    13

    Default Re: PNG transparency problem

    Thank you,

    Thank you, I will trim the object. I have never done this but I'm sure it's straight forward.

    I notice in the X3 overview on the Corel website that the colour palette has transparent white. Would this have solved the problem? or is that just a lazy way of producing the image.

    Do any other versions of Coreldraw offer this facility?

    Can you also explain please the purpose of the Image Color option when exporting as a PNG?

    Mike
    IP

  4. #4
    Join Date
    Aug 2006
    Location
    Chester UK
    Posts
    13

    Default Re: PNG transparency problem

    Trimming - that was easy.

    I wish I'd known about that a long time ago !!!

    Thanks
    Mike
    IP

  5. #5

    Default Re: PNG transparency problem

    Hi Mike,

    I'm glad you got your graphic to look right. I'll will try to answer a couple of your questions.

    "I notice in the X3 overview on the Corel website that the colour palette has transparent white. Would this have solved the problem? or is that just a lazy way of producing the image."

    Transparent white lets what's behind it show through, in this case it would have been your purple triangle. PNG graphics support transparency, if you apply a percentage of transparency to an object with nothing behind it, your background color would have shown through it according to the percentage.

    "Do any other versions of Coreldraw offer this facility?"

    My previous version of Draw before I got X3 was 9. There was no support for PNG files at all. I don't know in what version that changed. The PNG support is one of my favorite things about using X3.

    "Can you also explain please the purpose of the Image Color option when exporting as a PNG?"

    The Mask option is not supported in all the different color modes. It is the best option to use when available.

    "Trimming - that was easy.

    I wish I'd known about that a long time ago !!!"


    You could have also "Combined" your circle and triangle to get a similar result, but trimming probably was the best option in this case.
    Aunt Betsy
    IP

  6. #6
    Join Date
    Dec 2003
    Location
    Lancaster, CA, USA
    Posts
    3,080

    Default Re: PNG transparency problem

    PNG offers more detail for graphics than .gif. It also takes more bandwidth. As so many people have a cable modem or high speed internet, the size of a graphic no longer matters.

    For a long time, IE (Internet Explorer) did not support transparency with .png. I haven't tested it, but it would seem that if I were them this would be top on my list to fix.

    Everything Aunt Betsy said is exactly right on. Here is a link to a movie that really shows how to manage .png in DRAW and PhotoPaint to get the most out of the program

    http://www.unleash.com/jeffh/pngfromdraw/index.asp
    Every day's a new day, "draw" on what you've learned.

    Sally M. Bode
    IP

  7. #7
    Join Date
    Aug 2006
    Location
    Chester UK
    Posts
    13

    Default Re: PNG transparency problem

    Thank you both,

    I've made real progress.

    Mike
    IP

  8. #8
    Join Date
    May 2002
    Location
    UK
    Posts
    295

    Default Re: PNG transparency problem

    Aunt Betsy said:

    My previous version of Draw before I got X3 was 9. There was no support for PNG files at all. I don't know in what version that changed. The PNG support is one of my favorite things about using X3.


    Aunt Betsy, I'm pretty sure CD9 had .png support, but it was not available by default, you needed to go into options to enable, or disable, the available file formats you wanted available when saving/exporting. I still do this for my version 12 of CD.

    Sark
    IP

  9. #9

    Default Re: PNG transparency problem

    Thanks Sark,

    Your right, I checked my CD9 and found the png filter, I didn't know that it was there. What CD 9 doesn’t do is allow you to copy and paste out of Photo Paint and into CorelDraw with a transparent background.
    Aunt Betsy
    IP

  10. #10
    Join Date
    May 2002
    Location
    UK
    Posts
    295

    Default Re: PNG transparency problem

    It's a quirk of Draw. A lot of what I would expect to be defaults are hidden functions.

    I work with Photoshop so need to export anyway, but like you I upgraded from CD9 (to CD12) to use the Clipboard. In my case it was to get Vectors into Photoshop. The Oberon Script that does this only works in post 9 versions. I liked CD9, but like yourself have found upgrading definitely worthwhile.

    Sark
    IP

 

 

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
  •