× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I've already done this for our CGI site but slightly different...  I have a
CGI program that generates the graphics coordinates and then outputs them to
the browser in an <APPLET>, that way they are passed as parms to a Java
Applet residing in our IFS which then dynamically draws the image on the
Browser.

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 11:58 AM
> To: 'web400@midrange.com'
> Subject: RE: [WEB400] dynamic image generation
>
>
> Can RPG call a Java program and have it return some data? I
> was hoping to
> generate sets of data points in RPG CGI program, feed them to another
> program to create the image, then output that image inline to
> the browser.
> This would be similar to the GD library in *NIX. I guess I
> need to sign up
> to the Java400 list, I have no Java experience.
>
> Thanks,
> Loyd
>
>
> -----Original Message-----
> From: Joel R. Cochran [mailto:jrc@masi-brac.com]
>
> 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...
>
> _______________________________________________
> 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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.