Skip to content

Commit

Permalink
increase quality on playlist images
Browse files Browse the repository at this point in the history
  • Loading branch information
RealFascinated committed Nov 18, 2024
1 parent 7f40450 commit 9abcc68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions projects/backend/src/service/playlist.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,22 +183,22 @@ export default class PlaylistService {
*/
private static async generatePlaylistImage(author: string, title: string): Promise<string> {
const image = new SSRImage({
width: 256,
height: 256,
width: 512,
height: 512,
});
await image.setBackgroundImage("https://cdn.fascinated.cc/cFkchQkc.png");
image.drawText(
[
{
text: author,
color: "#000",
fontSize: 56,
fontSize: 100,
fontFamily: "SSR",
},
{
text: title,
color: "#222222",
fontSize: 31,
fontSize: 62,
fontFamily: "SSR",
},
],
Expand Down

0 comments on commit 9abcc68

Please sign in to comment.