added default conversion for image to byte[] f.e. if it is a memorystream
This commit is contained in:
parent
2fbab2c9ad
commit
59989b0969
@ -29,6 +29,9 @@ namespace Mk0.Tools.Convert
|
||||
case ".gif":
|
||||
image.Save(ms, ImageFormat.Gif);
|
||||
break;
|
||||
default:
|
||||
image.Save(ms, ImageFormat.Png);
|
||||
break;
|
||||
}
|
||||
return ms.ToArray();
|
||||
}
|
||||
|
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
||||
// indem Sie "*" wie unten gezeigt eingeben:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.2.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.2.0")]
|
||||
[assembly: AssemblyVersion("1.0.3.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.3.0")]
|
||||
|
Loading…
Reference in New Issue
Block a user