Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
5

Batch Png to SVG

New Here ,
Nov 21, 2023 Nov 21, 2023

I need to transform 51.587 png files into svg.

Those files contained in 61115 subfolders, in a folder called "Folder1". The logos are simple to convert as they are 1-4 colors per png.

I tried python scripts with potrace and cairosvg however they don't seem to work as I was able to create svg files with the same name but they were empty.

I do not have any code knowledge.

I tried python scripts with potrace and cairosvg however they don't seem to work as I was able to create svg files with the same name but they were empty.

TOPICS
Windows
1.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Nov 21, 2023 Nov 21, 2023

You might try using Illustrator if you want the rasterized PNG image to become vectors before saving as SVG. Here's a post with some solutions in Illustrator:

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 21, 2023 Nov 21, 2023
LATEST

I think you misunderstand the PNG and SVG file formats.

 

As Myra implies, SVG is a vector format, and vector data is what everybody expects from an SVG.

 

But your PNG-SVGs will have raster content! That defeats the whole purpose of the SVG file format to begin with. You end up with thousands of SVGs that cannot be used for what SVG is intended for. This can only create a lot of problems for anybody receiving these "fake" SVGs.

 

So while it may be technically possible, this is something you absolutely should not do.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines