[ENH][FIX] Publishing a Project

NISHIHARA Satoshi nishis at zephyr.dti.ne.jp
Thu Jan 9 07:51:08 UTC 2003


Change Set:		ProjectSaveingPatch-ns
Date:			9 January 2003
Author:			NISHIHARA Satoshi

For Squeak 3.2 or 3.4.

In case this ChangeSet saves a project including a sketch or an image, 
it uses properly and writes out Form, JPEGReaderWriter2,
and GIFReadWriter according to the contents. 

1) When writing out using GIFReadWriter; when the numberof operating 
colors is 256 or less while using the transparent color, while using
ColorForm or, write out using GIFReadWriter. 

2) When writing out using JPEGReadWriter2; it is written out using
JPEGReadWriter2 when reduction of size is not expected, even if it is 
in the state which JPEGReadWriter2 can use as plug-in and compresses
a picture. 
(when the size of bits after hibernate is larger than one fifth of the 
sizes of bits in front of hibernate)

3) When writing out using Form; when it does not correspond above, write 
out using Form.


-- 
--------------------------------------------
$B@>86Ao;N(B (NISHIHARA Satoshi)
e-mail: mailto:nishis at zephyr.dti.ne.jp
URL:    http://www.zephyr.dti.ne.jp/~nishis/
--------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ProjectPublishingPatch-ns.1.cs
Type: application/octet-stream
Size: 2814 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030109/56f759a8/ProjectPublishingPatch-ns.1.obj


More information about the Squeak-dev mailing list