Skip to content

Konrad-Kaufmann/srcset-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Semi automated srcset-generator

Scope

A srcset is an html attribute that allows the browser to load and deliver an appropriately sized image. This repo provides a tool that parses a html file that doesn't have srcsets yet and adds them automaticly together with an size attribute. This is achieved by parsing the html and searching for all images, then accesing the image and creating it in the correct sizes.

Limitations/Issues

  • only works if the image has the same size on all screen - sizes
  • currently only exports .webp images
  • GUI not connected

Input

Dependencies

To parse and write into the .html this tool uses JSOUP and webp-imageio support to create .webp files.

About

A tool to create srcsets for html-sites

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages