Image properties

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
begleysm
Posts: 3
Joined: Mon Aug 02, 2004 5:42 pm

Image properties

Post by begleysm » Mon Aug 02, 2004 5:46 pm

Is it possible, when using ChartUtilities.saveChartAsPNG, to set the image attributes (title, subject, comment, etc)?

begleysm
Posts: 3
Joined: Mon Aug 02, 2004 5:42 pm

Post by begleysm » Wed Aug 04, 2004 8:02 pm

I'm assuming that, since no one has replied to my thread, that this is not possible in the current version of JFreeChart. I think it might make a good addition to the next release to allow this sort of thing to be done.

nicky
Posts: 44
Joined: Mon Apr 05, 2004 1:45 am
Location: Brisbane, Australia

Post by nicky » Wed Aug 04, 2004 10:41 pm

Maybe you should explain what you mean a little more. I don't fully understand what you are asking.

begleysm
Posts: 3
Joined: Mon Aug 02, 2004 5:42 pm

Post by begleysm » Tue Aug 10, 2004 9:52 pm

If you go to an image (.png, .gif... whatever) and you right click on it (in a windows environment) a properties window will appear. One of the tabs at the top is "Summary" Under the Summary tab are a bunch image attributes. Some are depend on the actual image (such as File Type, Width, and Height under Image) others can be set and changed by users (such as Title, Subject and Comment under Description). I would like, at the time the chart is saved (as a PNG in my case) to be able to set some of these customizable attributes. These graphs I'm making, as you might imagine, are being creating automatically. I'd like to, perhaps in the Comment field, be able to specifiy what java class and function the graph came from so that they may be easily maintained.

Locked