Hi
The following code works in projectmaker, but not in zennoposter:
It takes an image and crops it in height.
Is this a known bug in the earlier versions of zenno (still use 5.0.3.1) or could there be another reason?
The log in zenno says "invalid parameter"
The following code works in projectmaker, but not in zennoposter:
Код:
Bitmap screen = new Bitmap(@"{-Project.Directory-}test-fullscreen.png");
int width= screen.Width;
Rectangle cloneRect = new Rectangle(0, 0, width, 1000);
System.Drawing.Imaging.PixelFormat format = screen.PixelFormat;
Bitmap clonescreen = screen.Clone(cloneRect, format);
clonescreen.Save(@"{-Project.Directory-}test-1000.png");
Is this a known bug in the earlier versions of zenno (still use 5.0.3.1) or could there be another reason?
The log in zenno says "invalid parameter"