"Woops"? :)
/ David Hedbor
Previous text:
2003-03-20 14:53: Subject: img->scale(0.5) produces images of zero size. [3384]
Product: Pike Version: 7.4 Component: Image module Reporter: anders@roxen.com URL: https://community.roxen.com/crunch/show_bug.cgi?id=3384
This simple program causes a segfault.
void main() { object img = Image.Image(1,1); img = img->scale(0.5); img = img->scale(2.0); }
After scale(0.5) the image is 0x0 pixels, and when doing scale(2.0) on that image Pike goes BOOM!
Tested on Pike 7.0, 7,2 and 7.4.
/ Brevbäraren