mirror of
https://github.com/4sval/FModel.git
synced 2026-03-21 17:24:26 -05:00
Revert
This commit is contained in:
parent
1a62062289
commit
3ebc245cf3
|
|
@ -327,10 +327,8 @@ public class TabItem : ViewModel
|
|||
|
||||
private void SaveImage(TabImage image, string path)
|
||||
{
|
||||
var skImage = image.ToSkBitmap();
|
||||
|
||||
var encodedImage = skImage.Encode(UserSettings.Default.TextureExportFormat, 100);
|
||||
File.WriteAllBytes(path, encodedImage.ToArray());
|
||||
using var fs = new FileStream(path, FileMode.Create, FileAccess.Write, FileShare.Read);
|
||||
fs.Write(image.ImageBuffer, 0, image.ImageBuffer.Length);
|
||||
}
|
||||
|
||||
public void SaveProperty(bool updateUi)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user