• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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: 7327
170
  • 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.
 
Evil is afoot. But this tiny ad is just an ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic