Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Image Processing Library in Java to Convert SVG, JPG or PNG Files to AI (Adobe Illustrator)

 
Ranch Hand
Posts: 2378
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to develop a microservice in Java that can take an image file as input and generate a API file in output, one at a time, or in bulk. Ideally I want to do the reverse as well i.e. take a AI (Adobe Illustrator) file and convert it to SVG, JPG or PNG. Is there any framework, either open source or commercial, to support this? I would also like to know if its possible from JavaScript as well, if I want to replicate the capacity not only from my backend but also develooping a JavaScript based front end.
 
Saloon Keeper
Posts: 6650
161
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Illustrator is a vector app (and file format), so it's pretty much impossible to convert a raster format image to the AI format. The other way around would be feasible, although I am unaware of a free library that can do this. The commercial Aspose library claims to support that, though. I take it you have checked whether Adobe offers something?

You wouldn't need to do it in JavaScript as well (which is even less likely to exist anyway), since JavaScript could also access the service running on the backend.
 
Ashik Uzzaman
Ranch Hand
Posts: 2378
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Tim. This is helpful. I will update here once I play around a bit with it.
 
You know it is dark times when the trees riot. I think this tiny ad is their leader:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic