[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: [QUIZ] SimFrost (#117

benjohn

3/12/2007 3:50:00 PM

> On Mar 12, 2007, at 9:31 AM, Albert Ng wrote:
>
>> Any suggestions for a complete beginner in generating graphics for
>> a more
>> efficient way of doing this sim graphically? RMagick is real nice,
>> but it's
>> not doing too well generating gif with a 320x240 grid.
>
> Did you take a look at my solution that outputs PPM graphics? PPM is
> a very easy graphic format, so I think it's great for beginners.
>
> James Edward Gray II

I was hoping to write PPMs a while ago, but OS X's Preview doesn't seem
to support it.



5 Answers

James Gray

3/12/2007 4:01:00 PM

0

On Mar 12, 2007, at 10:49 AM, benjohn@fysh.org wrote:

>> On Mar 12, 2007, at 9:31 AM, Albert Ng wrote:
>>
>>> Any suggestions for a complete beginner in generating graphics for
>>> a more
>>> efficient way of doing this sim graphically? RMagick is real nice,
>>> but it's
>>> not doing too well generating gif with a 320x240 grid.
>>
>> Did you take a look at my solution that outputs PPM graphics? PPM is
>> a very easy graphic format, so I think it's great for beginners.
>>
>> James Edward Gray II
>
> I was hoping to write PPMs a while ago, but OS X's Preview doesn't
> seem
> to support it.

Yeah, I don't think preview does. Graphic Converter does though.
It's what I used to make the movie. I bet you can also get netpbm
installed on OS X, then you can just shell out to those programs to
convert the images or build a movie.

James Edward Gray II

Robert Dober

3/12/2007 5:04:00 PM

0

On 3/12/07, James Edward Gray II <james@grayproductions.net> wrote:
><snip>
> Yeah, I don't think preview does. Graphic Converter does though.
> It's what I used to make the movie. I bet you can also get netpbm
> installed on OS X, then you can just shell out to those programs to
> convert the images or build a movie.
>
> James Edward Gray II
>
>

Talking about netpbm, I used it from Linux and I had no problem to
create an mpeg from 705 frames (512x512) only that err... it is about
50 times too big.
> 30MB
No way to post this to the list, I continue to try making it smaller -
this is my first attempt of video compression.

Would you be interested in it for the site maybe, and if so what size
is acceptable?
~ 10MB?

So if someone wants the configuration file for ppmtompeg I can post
it(1), maybe we will get some help to make the files smaller too?
Cheers
Robert

(1) ASAI am home again ;)
--
We have not succeeded in answering all of our questions.
In fact, in some ways, we are more confused than ever.
But we feel we are confused on a higher level and about more important things.
-Anonymous

James Gray

3/12/2007 5:53:00 PM

0

On Mar 12, 2007, at 12:04 PM, Robert Dober wrote:

> On 3/12/07, James Edward Gray II <james@grayproductions.net> wrote:
>> <snip>
>> Yeah, I don't think preview does. Graphic Converter does though.
>> It's what I used to make the movie. I bet you can also get netpbm
>> installed on OS X, then you can just shell out to those programs to
>> convert the images or build a movie.
>>
>> James Edward Gray II
>>
>>
>
> Talking about netpbm, I used it from Linux and I had no problem to
> create an mpeg from 705 frames (512x512) only that err... it is about
> 50 times too big.
>> 30MB
> No way to post this to the list, I continue to try making it smaller -
> this is my first attempt of video compression.
>
> Would you be interested in it for the site maybe, and if so what size
> is acceptable?

I'm going to pass just because I already have one movie up there and
I'm sure that's doing enough damage to my alloted bandwidth already. ;)

James Edward Gray II

y2kbugxp90

3/12/2007 10:54:00 PM

0

Whoop dee do, I spent half of yesterday setting up ImageMagick and
RMagick and now I learn that PPMs are better. ;) Ah well.

On Mar 12, 10:01 am, James Edward Gray II <j...@grayproductions.net>
wrote:
> On Mar 12, 2007, at 10:49 AM, benj...@fysh.org wrote:
> >> On Mar 12, 2007, at 9:31 AM, Albert Ng wrote:
> >>> Any suggestions for a complete beginner in generating graphics for
> >>> a more
> >>> efficient way of doing this sim graphically? RMagick is real nice,
> >>> but it's
> >>> not doing too well generating gif with a 320x240 grid.

> >> Did you take a look at my solution that outputs PPM graphics? PPM is
> >> a very easy graphic format, so I think it's great for beginners.

> >> James Edward Gray II

> > I was hoping to write PPMs a while ago, but OS X's Preview doesn't
> > seem
> > to support it.

> Yeah, I don't think preview does. Graphic Converter does though.
> It's what I used to make the movie. I bet you can also get netpbm
> installed on OS X, then you can just shell out to those programs to
> convert the images or build a movie.

> James Edward Gray II


James Gray

3/12/2007 11:02:00 PM

0

On Mar 12, 2007, at 5:53 PM, Harrison Reiser wrote:

> Whoop dee do, I spent half of yesterday setting up ImageMagick and
> RMagick and now I learn that PPMs are better. ;) Ah well.

Oh not "better." More just a poor man's RMagick. ;)

Well, for *very* simple graphics at least. RMagick does a LOT more.

James Edward Gray II