DarkDefender / superpix

Minimal cpp port of SuperPixelator
GNU General Public License v3.0
4 stars 1 forks source link

SVG to PNG in the original Java Program? #3

Open TheShankar opened 1 year ago

TheShankar commented 1 year ago

Hi, first of all thanks for this port. It was because of it that I was able to find that this great algorithm that I have been looking for years, was actually made public...

I have a question, in your port, we can use the command prompt to automatically convert a SVG to PNG with the SuperPixel algorithm applied. Would you happen to know if this was also a possibility in the original program? On it's documentation I could find was how to use the built in Painter widget, not much said about converting SVG to PNG directly.

Either way, thank you for your time!

DarkDefender commented 1 year ago

It is not possible to do any batch conversions with the original program sadly. You could of course try to restructure the original java code to do this. The idea crossed my mind as well however I ultimately decided to port the relevant code to C++ instead as I deemed that to be the most painless method.

TheShankar commented 1 year ago

Thanks for the reply! And yeah you're right! I'm thankful for your work, because you sort of compiled the "most useful" parts of the code IMHO. It's weird that it has been almost 10 years and nobody attempted something similar in any of the many vector pixel art drawing tools out there.

But thanks anyway! Much love!