在 App Engine 上操作图像

发布于 2024-09-27 17:00:58 字数 188 浏览 1 评论 0原文

我试图在 Google App 引擎中将文本绘制到来自 Java 的图像,但我没有找到任何方法(因为 java.awt.image.* 未列入白名单)。我还尝试将一张图像“分层”在另一张图像之上,但我不知道该怎么做。

有没有办法使用 Java 在 App Engine 中在图像上绘制文本或将一个图像覆盖在另一个图像上?有没有人找到其他解决方案?

I'm trying to draw text to an image from Java in the Google App engine, but I've found no methods (since the java.awt.image.* isn't whitelisted) to do it with. I'm also trying to "layer" one image on top of another, which I can't figure out how to do.

Is there any way to draw text on an image or overlay one image over another in App Engine using Java? Has anyone found any other solutions to this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

め七分饶幸 2024-10-04 17:00:58

您必须改用 Google 的图片 API

不确定它是否可以满足您需要的所有功能,但它确实包括图像合成。

You have to use Google's Images API instead.

Not sure if it can do all you need it to, but it does include image composition.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文