[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Images
From: |
Marcus G. Daniels |
Subject: |
Re: Images |
Date: |
27 Mar 2001 09:30:31 -0800 |
User-agent: |
Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4 |
>>>>> "KR" == Katherine Roberts <address@hidden> writes:
KR> I still can't get it to work. I've got the code in a folder with
KR> a random .png file I've called ant.png, so that shouldn't be the
KR> problem.
Attached is the test program (unmodified, but for completeness).
Also attached is the ant.png file I'm using.
Here's what I'm running:
$ uname -a
Linux forager.swarm.org 2.4.0 #8 Sun Jan 21 17:28:39 MST 2001 i586 unknown
$ javaswarm TestPixmap --version
TestPixmap 0.0 (Swarm 2001-03-26)
And on Windows 2K, using both Kaffe and Sun JDK. That's today's
libkaffeswarm.dll (for Kaffe), javaswarm.dll (for Sun JDK) and swarm.jar file.
(These are in ftp://ftp.swarm.org/pub/swarm/binaries/w32/latest.)
$ uname -a
CYGWIN_NT-5.0 HELEN 1.1.1(0.18/3/2) 2000-04-07 00:28:57 i686 unknown
$ javaswarm TestPixmap --version
TestPixmap 0.0 (Swarm 2001-03-26)
$ jdkswarm TestPixmap --version
TestPixmap 0.0 (Swarm 2001-03-26)
KR> What is the significance of the two lines:
KR> String appDir = Globals.env.arguments.getAppDataPath ();
KR> pixmapC.setDirectory (appDir);
The `appDataPath' should return `.' (the current directory) in this case.
The setDirectory call says in what directory to look for ant.png.
TestPixmap.java
Description: Java Pixmap test program
ant.png
Description: PNG file for Java Pixmap test program
- Re: Images, (continued)
- Re: Images, Paul E Johnson, 2001/03/14
- Re: Images, Marcus G. Daniels, 2001/03/14
- Re: Images, Marcus G. Daniels, 2001/03/15
- RE: Images, Katherine Roberts, 2001/03/27
- Re: Images, Paul E Johnson, 2001/03/27
- RE: Images, Katherine Roberts, 2001/03/27
- Re: Images, Marcus G. Daniels, 2001/03/27
- HDF5 documentation, user community effort, another passionate plea, Paul E Johnson, 2001/03/27
- Re: HDF5 documentation, user community effort, another passionate plea, Marcus G. Daniels, 2001/03/27
- RE: Images, Katherine Roberts, 2001/03/27
- Re: Images,
Marcus G. Daniels <=
- Re: Images, Ralf Stephan, 2001/03/15