Images in Ruby

P

Peefh

Images in Ruby
==============


A few days ago, I asked a question about using .PNG Images in a Ruby/Tk
environnement, but I forgot to give some data.

- What I have: WinXP Home SP1, Ruby 1.8.0, Tk8.3, *no* compiler.

- What I'd like to do: to use a ".PNG" TkPhotoImage to show it as
TkcImage in a TkCanvas.

I'm playing with 640x640 pictures (256 colors), for whitch the sizes
are about:
.BMP (windows) -> 410 Kb
.PNG -> 120 Kb
.PPM -> 1200 Kb
I have to use hundreds of them...

Somebody suggested me to use "GD", whitch is a good tool for using
..PNG/.JPG but from whitch I cannot build any TkPhotoImage(s), or whitch
I *don't know* how to use in TkCanvas.

Did someone try to do that?
Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,163
Latest member
Sasha15427
Top