[BUG][3.4] walkback when publishing a project

Ned Konz ned at bike-nomad.com
Mon Mar 31 06:41:50 UTC 2003


On Sunday 30 March 2003 06:35 pm, Ned Konz wrote:
> I did this:
> * loaded an old Connectors project into my image from BSS
> * loaded a new version of Connectors from SqueakMap
> * edited the changeset a bit
> * published the project
>
> And got this:
>
> Error: buffer too small for compressed data
> 30 March 2003 5:11:17 pm

OK, more on this. I was able to catch it happening.

The attached GIF is the image (3x400x32) that was being serialized via 
JPEGReadWriter2.

When I modified the source to pass a buffer of double the original 
size (2400 bytes instead of 1200), the byteSize that was returned was 
1205, and it succeeded.

The other arguments to the offending method

JPEGReadWriter2>>nextPutImage: aForm quality: quality progressiveJPEG: 
progressiveFlag

were:
quality: -1
progressiveFlag: false

Do we need to make the buffers bigger here?

Thanks,
-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ProblemImage.gif
Type: image/gif
Size: 995 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030330/96a6687e/ProblemImage.gif


More information about the Squeak-dev mailing list