Skip to content

VirtualRaven/WasmGallery

Repository files navigation

WasmGallery

This is a C++ implementation of the image layout algorithm used in my photo website photos.rahmn.net. The source code for the website itself is available here WebGallery.

The system is a simple image layout algorithm that sizes images for display in fixed size rows such that the row is compleatly filled and image aspect ratio preserved. The task of this program is to calculate the resulting size of each image whilst the actual layout is done in javascript. See WebASM.js in the website source.

Data.hpp contains all meta data for the images included in the gallery which is compiled into the resulting binary. This is generated using the generate.py script bundled with the website.

About

Image gallery layout engine using Webassembly

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published