ImageReader #iconFromFile:toClass:selector: should do a #cleanFigure

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ImageReader #iconFromFile:toClass:selector: should do a #cleanFigure

Terry Raymond
Because icons are also used as window icons it would be very
helpful if the image reader would do a #cleanFigure. I just
spent a couple of hours trying to figure out why my window
looked screwy. Making the image reader clean the icons would
have eliminated that wasted time.

Terry
 
===========================================================
Terry Raymond
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
(401) 624-4517      [hidden email]
<http://www.craftedsmalltalk.com>
===========================================================



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: ImageReader #iconFromFile:toClass:selector: should do a#cleanFigure

Steven Kelly
Just an aside on a similar issue: our PNG reading code added something
like #cleanFigure, and we found we had to make two versions: one for
normal PNG reading, where the result is a VW OpaqueImage with binary
alpha and the image bits cleaned of extra alpha info, and another for
reading a PNG to be used by AlphaCompositedImage, which actually needed
the 'incorrect' alpha bits mixed in with the image bits. So cleaning may
not always be the right thing to do, even if it is in Terry's case.

Steve

> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On
> Behalf Of Terry Raymond
> Sent: 16. toukokuuta 2011 22:52
> To: VWNC
> Subject: [vwnc] ImageReader #iconFromFile:toClass:selector: should do
> a#cleanFigure
>
> Because icons are also used as window icons it would be very
> helpful if the image reader would do a #cleanFigure. I just
> spent a couple of hours trying to figure out why my window
> looked screwy. Making the image reader clean the icons would
> have eliminated that wasted time.
>
> Terry
>
> ===========================================================
> Terry Raymond
> Crafted Smalltalk
> 80 Lazywood Ln.
> Tiverton, RI  02878
> (401) 624-4517      [hidden email]
> <http://www.craftedsmalltalk.com>
> ===========================================================
>
>
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc