mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Fix applying VRCX metadata to photos
This commit is contained in:
@@ -262,8 +262,8 @@ namespace VRCX
|
||||
if (newChunkIndex == -1) return false;
|
||||
|
||||
// If this file already has a text chunk, chances are it got logged twice for some reason. Stop.
|
||||
var existingiTXt = FindChunkIndex(png, "iTXt");
|
||||
if (existingiTXt != -1) return false;
|
||||
// var existingiTXt = FindChunkIndex(png, "iTXt");
|
||||
// if (existingiTXt != -1) return false;
|
||||
|
||||
var newChunk = new PNGChunk("iTXt");
|
||||
newChunk.InitializeTextChunk("Description", text);
|
||||
|
||||
Reference in New Issue
Block a user