ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Convert Png to SVG

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Ken Randall Posted - Mar 03 2025 : 11:45:42
Hi Nigel,

Can ImageEn do this?

Thanks,

Ken

Ken R
10   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 17 2025 : 23:29:00
// Convert a logo to PNG
IEVectorizeImageToSVG( ImageEnView1.IEBitmap, 'D:\CC.svg', 4, 7, -1, 0, 0.9, 0 );


Source File Size: 35 KB


SVG File Size: 11 KB


Nigel
Xequte Software
www.imageen.com
Ken Randall Posted - Mar 08 2025 : 02:49:51
Brilliant for me as the images are for buttons.

Ken R
xequte Posted - Mar 07 2025 : 20:09:55
Hi Ken

I don't know about brilliant. Turning a raster image into SVG only works agreeably when there a few colors. Otherwise it creates an image that is bigger, uglier and slower than the original.



Nigel
Xequte Software
www.imageen.com
Ken Randall Posted - Mar 07 2025 : 02:59:25
Hi Nigel,

That's brilliant. I have sent an email as requested.

Thanks,

Ken

Ken R
xequte Posted - Mar 06 2025 : 22:24:35
PNG:


SVG (Reduced to 32 colors):


SVG (Reduced to 256 colors):


Nigel
Xequte Software
www.imageen.com
xequte Posted - Mar 06 2025 : 22:23:01
JPEG:


SVG (Reduced to 32 colors):



Nigel
Xequte Software
www.imageen.com
xequte Posted - Mar 06 2025 : 22:21:17
Hi Ken

I started writing an outline of the steps to create a method to do this with ImageEn, before I decided it would probably easier just to code it myself. Please email me for the latest beta and a demo.

It's not great nor fast, and could do with lots of improvement, but it works reasonably well.


Nigel
Xequte Software
www.imageen.com
xequte Posted - Mar 05 2025 : 21:58:35
Hi Ken

Turning an image into vectors is a technically difficult task, at best you can do something like edge detection, but that is only suitable for a small subset of images. Perhaps it will be a task that AI can do reasonably in the near future.

Nigel
Xequte Software
www.imageen.com
Ken Randall Posted - Mar 05 2025 : 02:23:32
Thanks but need it to be vectorized.

Ken R
xequte Posted - Mar 04 2025 : 16:02:08
Hi Ken

Yes, but PNG is a raster format whereas SVG is a vector format that can include raster objects, so a PNG saved to SVG will just create a SVG with a raster PNG image in it.

Please see:

http://www.imageen.com/help/IEConvertImageToSVG.html

Nigel
Xequte Software
www.imageen.com