Fix #26: Scale images to the correct size and use more efficient image formats

This commit is contained in:
2023-06-14 20:37:31 +02:00
parent 61d24ddd7f
commit 3103d3e098
7 changed files with 324 additions and 20 deletions

View File

@ -1,3 +1,5 @@
import type { SongThumbnailImage } from '$lib/mastodon/response';
export type SongInfo = {
pageUrl: string;
youtubeUrl?: string;
@ -6,6 +8,7 @@ export type SongInfo = {
artistName?: string;
thumbnailUrl?: string;
postedUrl: string;
resizedThumbnails?: SongThumbnailImage[];
};
export type SongwhipReponse = {