About "A Taste of Smalltalk"

Dan Rozenfarb squeak-dev at lists.squeakfoundation.org
Sat Oct 5 00:51:17 UTC 2002


I can do the same, just tell me which ones if you think it's worth the
effort.

> -----Mensaje original-----
> De: squeak-dev-admin at lists.squeakfoundation.org [mailto:squeak-dev-
> admin at lists.squeakfoundation.org] En nombre de Russell Penney
> Enviado el: Friday, October 04, 2002 9:29 PM
> Para: squeak-dev at lists.squeakfoundation.org
> Asunto: RE: About "A Taste of Smalltalk"
> 
> Ok time for me to stop just lurking.
> 
> Why don't you put all the scanned jpegs on a swiki? I have no problem
> when I have a spare 10 minutes retyping a page in, other people can
> proof read my effort and make changes. If enough people take a couple
of
> pages each it should be done in no time ( I have NO idea how many
pages
> there are, I am being optimistic :-)
> 
> Then turn it into a PDF, much smaller than bitmaps.
> 
> Russell
> 
> -----Original Message-----
> From: squeak-dev-admin at lists.squeakfoundation.org
> [mailto:squeak-dev-admin at lists.squeakfoundation.org] On Behalf Of
Jason
> Rogers
> Sent: Saturday, 5 October 2002 6:49 AM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: RE: About "A Taste of Smalltalk"
> 
> Great!  Count me out... :)
> 
> =jason
> [:question | ^One]
> 
>   >  -----Original Message-----
>   >  From: squeak-dev-admin at lists.squeakfoundation.org
>   >  [mailto:squeak-dev-admin at lists.squeakfoundation.org] On
>   >  Behalf Of Bert Freudenberg
>   >  Sent: Friday, October 04, 2002 3:57 PM
>   >  To: squeak-dev at lists.squeakfoundation.org
>   >  Subject: RE: About "A Taste of Smalltalk"
>   >
>   >
>   >  On Fri, 4 Oct 2002, Jason Rogers wrote:
>   >
>   >  > That's a pretty laborious process though.  Is there any
>   >  good way to
>   >  > automate the cropping?
>   >
>   >  Of course. I use pnmtools all the time. They do an
>   >  incredible job at this kind of stuff. Typing a command
>   >  line to convert some images takes a lot less time than to
>   >  start The Gimp, at least on my machine. Here's a simple
>   >  command line to convert all jpeg images in a directory to
>   >  postscript, converting everything to pure black/white (to
>   >  save space) and cropping 100 pixels around:
>   >
>   >  for f in *.jpg ; do djpeg $f|ppmtopgm|pgmtopbm
>   >  -threshold|pnmcut -left 100 -right -100 -top 100 -bottom
>   >  -100 | pnmtops -noturn >
>   >  `basename $f .jpg`.ps ; done
>   >
>   >  You could throw in some other nifty stuff like (-scale option for
>   >  pnmtops), automatic removal of all white border (pnmcrop).
>   >
>   >  This can also easily be followed by
>   >
>   >  	cat *.ps > t.ps
>   >  	ps2pdf t.ps
>   >
>   >  Doing this for t000.jpg to t028.jpg (downloaded per wget)
>   >  results in a 1 MB PDF, which is not too bad at 30 k/page,
>   >  IMO. See http://isgwww.cs.uni-magdeburg.de/~bert/t.pdf
>   >
>   >  -- Bert
>   >
>   >
>   >
>   >
>   >  ---
>   >  Incoming mail is certified Virus Free.
>   >  Checked by AVG anti-virus system (http://www.grisoft.com).
>   >  Version: 6.0.384 / Virus Database: 216 - Release Date: 8/21/2002
>   >
>   >
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.384 / Virus Database: 216 - Release Date: 8/21/2002
> 
> 
> 
> 





More information about the Squeak-dev mailing list