从表数据生成图像

发布于 2024-12-28 05:28:00 字数 151 浏览 6 评论 0原文

我正在寻找生成图像/图像文件,由较小的正方形组成的基本矩形,并根据我的 Access 2003 db 表中的数据具有不同的颜色。基本上,该表具有存储评级值的字段,这些评级值确定矩形面上的正方形的颜色。

到目前为止我的搜索尚未取得成果。

任何帮助将不胜感激,

I'm looking to generate images/image files, basic rectangles made up of smaller squares, with varying colours based on data in my Access 2003 db tables. Basically the table has fields storing rating values which determines the colour of squares on the face of the rectangle.

My search so far has not been fruitful.

Any help would be appreciated,

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

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

发布评论

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

评论(1

对风讲故事 2025-01-04 05:28:00

您可以使用 ImageMagick 来执行此操作。例如:

Sub ImageMagickTest()
Dim im As Object

    Set im = CreateObject("ImageMagickObject.MagickImage")
    im.Convert "-size", "100x100", "canvas:#0000FF", "C:\Blue.png"
End Sub

ImageMagick 帮助的相关部分是画布创建

You can use ImageMagick to do this. For example:

Sub ImageMagickTest()
Dim im As Object

    Set im = CreateObject("ImageMagickObject.MagickImage")
    im.Convert "-size", "100x100", "canvas:#0000FF", "C:\Blue.png"
End Sub

The relevant section of the ImageMagick help is Canvas Creation.

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