Angelo wrote:
> # On sauvegarde l'image avant anti-aliasing
> imgDecoupADFBV=Image.new('RGBA', (widthADFBV, heightADFBV))
> imgDecoupADFBV.putdata(newimageRGBA_ADFBV)
>
> the script make his job, but it returns me this warning :
>
> /usr/lib/python2.4/site-packages/PIL/Image.py:1120: DeprecationWarning:
> integer argument expected, got float
> self.im.putdata(data, scale, offset)
does "newimageRGBA_ADFBV" perhaps contain floating point values?
> What is the problem ?
just an internal Python API that's a bit pickier than it has to be. you
can safely ignore this warning.
(for instructions on how to disable it, see the documentation for
Python's "warnings" module).
</F>
_______________________________________________
Image-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/image-sig