Skip to content
PixevalPublic

About

A generic image list interface for the Pixiv and Booru APIs

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

25 Commits

Folders and files

Repository files navigation

Misaki

NuGet Version

Artwork and image-service contracts shared by Mako (Pixiv), Imouto (Booru), and Emaki (E-Hentai).

An IPagedArtwork exposes its page count as soon as its metadata is loaded. Use the platform's IGetArtworkService to resolve any zero-based page, including page zero of a Pixiv Ugoira.

var page = await service.GetPageAsync(artwork, pageIndex, cancellationToken);
var display = page.Display;
var download = page.Original ?? display;

FileSource supplies one media file, including animated GIF and WebP. ZipFrameSource supplies an archive and frame delays. FrameSequenceSource supplies individual frame URLs and delays. For thumbnails stored in a sprite sheet, SpriteRegionSource supplies the sheet URL and a crop rectangle in pixels. Each page can also offer multiple sizes in Previews, including Display. Resolving a page retrieves metadata. The consumer fetches and decodes the selected source when displaying or downloading it.

About

A generic image list interface for the Pixiv and Booru APIs

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages