Skip to content

Commit

Permalink
Make Skins Opaque
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBrokenRail committed Oct 22, 2023
1 parent 3e97d4c commit 865431c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ async function processSkin(imageUrl: string) {
}

// Save
image.opaque();
image.rgba(true);
const buffer2 = await image.getBufferAsync(Jimp.MIME_PNG);
const data = buffer2.toString('base64');
Expand Down

0 comments on commit 865431c

Please sign in to comment.