PNG importing appears to be broken ( was Re: [squeak-dev] Who
understand bilinear interpolation for reducing image size?)
tim at rowledge.org
Fri Dec 12 19:09:48 UTC 2014
On 12-12-2014, at 3:04 AM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> On 12.12.2014, at 04:47, tim Rowledge <tim at rowledge.org> wrote:
>> monkey1.png where the background should be transparent but appears as white -https://copy.com/lgAtv9rDlTGaGb9m
>> bananas1.png (similar but different in detail) - https://copy.com/Vsj8lgqtyQmwIerA
> Both work fine if I simply drop them into a 4.5 image. I can move/rotate/scale no problem. Shadow rendering is not nice, but that's a problem of the shadow renderer, not the bitmap itself.
Sigh. It looks ok when used that way because the process makes a SketchMorph which draws by use of blending. Which is pretty much exactly what I said, though possibly rather long-windedly. Scratch has to use paint. Well, it could of course be changed to use blend but as previously explained that has a risk of messing up old projects and costing too much time on slower machines.
OK, I give up.
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
How do I set my laser printer on stun?
More information about the Squeak-dev