I'll only address the 2 points I feel most comfortable with:
2. ...to the simplest method of generating pngs (or do I have to go to
tiffs?). My O'Reilly Java 2D book tells me all about reading pngs, but
nothing about creating them. Do I really have to go into advanced
imaging? Are pngs so advanced?
We've had great success with keypoint's PngEncoder classes. They're
very light; since they take advantage of java's built-in classes for
deflating and checksums. If you can't find those online somewhere,
email me off-list... I'm developing a new lighter PNG encoder.
3 ... the best route from Java drawThing() to vector graphics - cross
platform please.
The best free option we've found? Batik creates good SVG files.
Downside: big and clunky, as far as 3rd party JARs go. But reliable.
Depends on the scale of your current project, mostly.
I believe there are some perfectly respectable EPS encoders out there.
Last I checked though the complete, really good-looking ones cost a
little bit of money. But I admit I haven't checked in a while, maybe
somebody else can chime in with more info there.
On Aug 30, 2006, at 1:11 PM, David Leader wrote:
Because of a love of the classic Mac operating system, and a need to
support OS9, I have been working for a long time (albeit in an
intermittent and amateur manner) with the AWT and java 1.1. My apps
(generally canvases on which scientific information was visualized)
printed ok (I thought - always used a B&W laser printer) and I could
generate gif and ps graphics using 1.1 packages from sources like Acme
and the Sandia guy.
But this summer I decided to move up to Java Swing etc and developed a
new little scientific app in 1.2 on my new PB (and am ready to go up
to 1.5 if needed). However:
1. The acme print gif doesn't work - reckons my improved graphics have
too many colours (Photoshop only makes it about 200, but I'm willing
to give it the benefit of the doubt.)
2. The create ps method doesn't seem to give me anything but portrait
but I need to save the images I am creating are in landscape.
and
3. Horror of horrors, when a colleague printed from my latest toy to a
colour printer I discovered that my print methods for 1.2 (and 1.0),
based on Flanigan's examples, only printed in grayscale.
Now the grey may match my hair colour, but I'd appreciate it greatly
if someone could point me, in order of importance:
1. ...to the simplest method of using a colour printer to, well, print
java in colour - do I really have to use 1.5 and enum things I know
nothing about?
2. ...to the simplest method of generating pngs (or do I have to go to
tiffs?). My O'Reilly Java 2D book tells me all about reading pngs, but
nothing about creating them. Do I really have to go into advanced
imaging? Are pngs so advanced?
3 ... the best route from Java drawThing() to vector graphics - cross
platform please.
Hell, I have real work to do, I didn't expect to get bogged down with
this.
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden