|
I've been playing around with the same thing from a slightly different perspective. If you have access to Java, SDK1.4 has a bunch of new ImageIO functionality. Used in conjunction with the Graphics2D classes I've been able to create .JPGs from a sketch in a Java program. I have a seperate program that draws sketches in the Java window based on AS/400 vector data. Logic would suggest that you could follow a similar path and write a Java Class that would receive/get AS/400 based data, create the associated graphic, and then export it to a .JPG (or I think several other file types). Might be worth exploring. I might be able to share some code snippets if it would help... Joel R. Cochran Director of Internet Services VamaNet.com (800)480-8810 mailto:custservice@vamanet.com > -----Original Message----- > From: Goodbar, Loyd (AFS-Water Valley) > [mailto:LGoodbar@afs.bwauto.com] > Sent: Friday, January 18, 2002 10:43 AM > To: 'web400@midrange.com' > Subject: [WEB400] dynamic image generation > > > I would like to programmatically (dynamically) generate GIF > or PNG images > based on AS/400 data. For example, I would like to create a > line or bar > graph similar to the stock graphs on yahoo: > <http://finance.yahoo.com/q?s=bwa&d=c&t=1y>. I am basically looking to > generate trend graphs based on user input on web forms. > (Graph a product > line's productivity for the past year.) Any advice welcomed. > Feel free to > respond to either list, I monitor both. > > Thanks, > Loyd > > -- > Loyd Goodbar > Programmer/Analyst > BorgWarner Incorporated > Air/Fluid Systems, Water Valley, MS > > _______________________________________________ > This is the Web Enabling the AS400 / iSeries (WEB400) mailing list > To post a message email: WEB400@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/web400 > or email: WEB400-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/web400. >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.