[ENH] PNMReadWriter

Javier Diaz-Reinoso javier_diaz_r at mac.com
Tue Dec 2 17:43:12 UTC 2003


If you are in Linux or MacOSX, install nepbm 
(http://netpbm.sourceforge.net ) then you can translate from a lot of 
formats.
I am in MacOSX and with the AppleScript installed, I can read TIFFs in 
Squeak using the attached .cs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Applescript class-loadTIFF.st.gz
Type: application/x-gzip
Size: 588 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20031202/55be1450/Applescriptclass-loadTIFF.st.bin
-------------- next part --------------

On lunes, dici 1, 2003, at 16:31 America/Quito, ducasse wrote:

> I would like to harvest that because this is cool that squeak supports 
> more image format. But I do not have ppm
> of the right depth. Can somebody check that?
>
> Stef
>
> On Mardi, oct 21, 2003, at 00:36 Europe/Zurich, Ned Konz wrote:
>
>> On Monday 20 October 2003 3:16 pm, Javier Diaz-Reinoso wrote:
>>> from preamble:
>>>
>>> "Change Set:		PNMReadWriter
>>> Date:			15 October 2003
>>> Author:			Javier Diaz Reinoso
>>>
>>> I am a subclass of ImageReadWriter that decodes portable anymap file
>>> formats
>>> (pbm, pgm, ppm and  pam) images.
>>>
>>> I accept the #origin pragma for SE files as described in:
>>> Algoritms For Image Processing And Computer Vision. J. R. Parker
>>>
>>> Don't work with 2 bytes samples (16 bit grays, > 32 bits color, 
>>> etc...),
>>> pam files preliminary support.
>>> "
>>
>> I did a PPM read/writer for the ICFP contest a few years ago.
>>
>> I don't remember how capable it was.
>>
>> You can get it from:
>> http://bike-nomad.com/squeak/PPMReadWriter-nk.3.cs
>>
>> -- 
>> Ned Konz
>> http://bike-nomad.com
>> GPG key ID: BEEA7EFE
>>
>>
>
>
>
Javier Diaz-Reinoso
Web: http://homepage.mac.com/javier_diaz_r/



More information about the Squeak-dev mailing list