Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Jan 26, 2025
1 parent 94698b5 commit d6ee00c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/sprite-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@ export async function generateSprite(
channels: 4,
background: { r: 0, g: 0, b: 0, alpha: 0 },
},
})
.composite(composite)
[format]({ quality })
}).composite(composite)[format]({ quality })

const spritePath = join(outputDir, `${prefix}-sprite.${format}`)
await spriteSheet.toFile(spritePath)
Expand Down

0 comments on commit d6ee00c

Please sign in to comment.