mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 23:03:51 +02:00
Fix error reading metadata
This commit is contained in:
@@ -199,8 +199,8 @@ namespace VRCX
|
||||
|
||||
await print.SaveAsPngAsync(tempPath);
|
||||
|
||||
var oldPngFile = new PNGFile(path);
|
||||
var newPngFile = new PNGFile(tempPath);
|
||||
var oldPngFile = new PNGFile(path, false);
|
||||
var newPngFile = new PNGFile(tempPath, true);
|
||||
|
||||
// Copy all iTXt chunks to new file
|
||||
var textChunks = oldPngFile.GetChunksOfType(PNGChunkTypeFilter.iTXt);
|
||||
|
||||
Reference in New Issue
Block a user