Nima
Nima

Reputation: 11

Image generation from table data

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,

Upvotes: 1

Views: 79

Answers (1)

mwolfe02
mwolfe02

Reputation: 24207

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.

Upvotes: 1

Related Questions