zimmer9
asked on
Do you know how I could save the image array ELEMENTS as individual *.tiff files ?
I am developing a C# application using VS2015 and .Net Framework 4.5
If I have an image array as follows:
Do you know how I could save the image array ELEMENTS as individual *.tiff files ?
I tried:
But this causes the following error:
If I have an image array as follows:
int varI;
int.TryParse(reccount, out varI);
Image[] newImage = new Image[varI];
Do you know how I could save the image array ELEMENTS as individual *.tiff files ?
I tried:
string filenamerev = MyGlobals.BASE_DIR + "B.B.CHKIMAGE.CHKIMAGE." + MyGlobals.sequencenum + "." + ConvertToJulianyyyyddd(DateTime.Now) + ".TIFF";
newImage[MyGlobals.CheckOrderNum - 1].Save(filenamerev, System.Drawing.Imaging.ImageFormat.Tiff);
But this causes the following error:
An unhandled exception of type 'System.ArgumentException' occurred in System.Drawing.dll
Additional information: Parameter is not valid.
Additional information: Parameter is not valid.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
How you are garbaging the graphics object?