how to transform png to cdr

How can I transform .png image to a .cdr image ?
Jose BredariolPMPAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

systechadminConsultantCommented:
there are tools which can convert png to cdr like coral draw graphic suite
Jose BredariolPMPAuthor Commented:
Where, I have Corel X5.
Joe Winograd, Fellow&MVEDeveloperCommented:
Hi Jose,

This EE thread is about converting JPG to CDR:
http://www.experts-exchange.com/Software/Photos_Graphics/Q_26926817.html

PNG is similar to JPG in that they are both a raster graphics file format, so what is said in that question about JPG also applies to PNG. Although that question is more than four years old, I'm not aware of changes since then that would help you. In particular, the latest version of XnView (V2.33, 18-Jun-2015) still cannot convert to CDR. Also, one of my favorite tools for image conversion, GraphicsMagick, also does not support CDR. So one of the more promising suggestions is the two-step Vector Magic approach mentioned in the thread above. Regards, Joe
OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

BillDLCommented:
*** EDIT: I had a feeling that another expert may have been along to post while I was reading, answering the phone, having coffee, and typing.  Good comment Joe ***

Hello Jose.  I looked at your profile and I can clearly see that you have a wealth of IT experience in various disciplines.  I will assume that perhaps you haven't had much experience with image editing, so forgive me if I cover some basic concepts that you may already be familiar with.

I am not totally familiar with all the versions of Corel software, but it looks as though there are two separate applications of the X5 version, namely CorelDRAW X5 and Corel PHOTO-PAINT X5.  Perhaps you have the CorelDRAW Graphics Suite containing both applications.

First of all, can you OPEN the *.PNG file in the Corel software that you have installed? (File menu > Open)
You may have to use the drop-down field in the "open" dialog and set it to "*.* All Files" in order to see the PNG file in the folder when you browse to it.
Note:  The File menu > IMPORT option usually inserts the image into whatever image you already have open, and normally converts it into the same format as the image already open.  If you don't have another image open at the time, it should import as a new one.  The main difference between the Open and Import functions is that during an Import you can "resample" the image and change dimensions, dots per inch density, or aspect ratio.  Try both methods and see what happens.

I looked up technical notes from a help file I found relating to Corel Photo-Paint X5, but I am not sure if they also relate to CorelDraw X5.  It seems that Photo-Paint X5 cannot import PNG files that are encoded with "48-bit colour".  It works for PNG files of 1-bit black and white through to 24-bit color, but not 48-bit.  Perhaps this could be the issue that is causing you problems.

If you are able to open the PNG image, then you need to save and convert it to the CDR format.
Try both of the following methods and see what happens:

File menu > Save As.
Browse to folder.
Choose the CDR file format from the "Save as type" list box.
Type a file name in the File name list box.
(file extension for file format is appended to file name automatically)
Enable any of the following active check boxes:
- Selected only — saves only the editable areas defined in your image, when there are no active and selected objects. If there are no editable areas, this option saves only the active and selected objects.
- Do not show filter dialog — suppresses dialog boxes that provide advanced exporting options
Click "Save"

File menu > Export.
Follow same steps as above.

One thing to consider is that a PNG file is quite different from a CDR file.

CorelDRAW (CDR) files are primarily vector graphic drawings and are best suited for logos, diagrams, banners, etc. Vectors define a picture as a list of graphic primitives (rectangles, lines, text, arcs, and ellipses). Vectors are mapped point by point to the page, so if you reduce or increase the size of a vector graphic, the original image will not be distorted. (https://en.wikipedia.org/wiki/Vector_graphics)

A PNG file is a Raster Graphic format that stores the image content as dots (rectangular grid of coloured pixels).  as with GIF and JPG images, PNGs are bitmap images that are best suited for photo-realistic images.  The coloured pixels on the grid of a raster image are "dithered", whereby they are approximated from the available palette (colour depth).  In an image that uses 24-bin color depth (16 million colors), the human eye usually won't detect where the colour of certain squares on the grid have been guessed.  (https://en.wikipedia.org/wiki/Raster_graphics).

Image editing applications are raster based.  illustration applications are Vector based.
You can stretch a vector illustration without it degrading or getting jagged, but if you stretch a raster image it will get blocky, jagged, and degrade.

Some image conversion programs may just take one file and resave it into another format that will be compliant enough to open again in an application that supports the new file type, but there could well be a loss of data and functionality.  For example, if you save a PNG image comprising multiple layers to a JPG, all the layers will be merged and flattened into one.  There are very few image conversion utilities that will be able to export to CDR format.  Many will be able to import the format for viewing and perhaps exporting to other image formats, but I cannot find any that export to CDR.

I will assume that the Corel illustration applications like "draw" and "paint" will try to convert an imported image into new separate vector shapes that can then be selected and edited.  Depending on the content of a PNG image, and the differences between raster and vector, your PNG images may not be suitable for converting into a vector format like CDR and may not be editable like a vector based image that was created in an illustration application.  The edges in the PNG image may not be distinct enough to enable separation into shapes.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Joe Winograd, Fellow&MVEDeveloperCommented:
Bill,
My comment may be good, but yours is great! Nicely done! Regards, Joe
Jose BredariolPMPAuthor Commented:
Thanks all
Joe Winograd, Fellow&MVEDeveloperCommented:
You're welcome, Jose. Happy to help. Cheers, Joe
BillDLCommented:
Thank you Jose
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Document Imaging

From novice to tech pro — start learning today.