• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 7099
165
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Tim. This is helpful. I will update here once I play around a bit with it.
 
If you are using a wood chipper, you are doing it wrong. Even on this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic