将矢量图像转换为Java中的光栅图像

huangapple 未分类评论56阅读模式
英文:

Convert vector image to raster image in Java

问题

似乎一开始看起来很简单的任务,结果却难倒了甚至连谷歌都难以解决。因为我得到的唯一搜索结果与我想要的相反,是关于将“光栅转换为矢量”的,而这不是我要找的。我得到的唯一其他搜索结果是一些网络服务,我也不需要那个。

这个想法听起来相当不错:我们将矢量图像以 .ai 格式存储,这样我们就有了一个完美的参考图像,然后将其转换为任意大小的 .png 或 .jpg 以供任何用途。理想情况下,这应该在没有任何中间人网服务的情况下完成,因为这些图像在某种程度上是机密的。

在 Java 中有没有办法做到这一点?有人做过类似的事情吗?

英文:

What seemed like a simple task at first turns out too hard even to Google. As the only search results I get are the opposite, converting "raster to vector", which is not what I'm looking for. The only other search result I get is some web service, which I also don't need.

The idea sounded pretty great: we store a vector image in .ai format so that we have a perfect reference image, and then convert it to .png or .jpg of any size for any purposes. Ideally this should be done without any middle-man web service, because the images are somewhat confidential.

Is there a way to do that in Java? Has anyone done that?

huangapple
  • 本文由 发表于 2020年6月29日 15:13:50
  • 转载请务必保留本文链接:https://java.coder-hub.com/62632983.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定