This commit is contained in:
2024-12-30 08:01:17 +01:00
parent dfafeecf2c
commit 7894f7d420
218 changed files with 8981 additions and 20 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

View File

@@ -0,0 +1,27 @@
module main
import freeflowuniverse.herolib.conversiontools.imagemagick
import gittools
fn do() ! {
if !imagemagick.installed() {
panic('need imagemagick')
}
mut gs := gittools.get(root: '/tmp/code')!
url := 'https://github.com/threefoldfoundation/www_examplesite/tree/development/src'
mut gr := gs.repo_get_from_url(url: url, pull: false, reset: false)!
gr.remove_changes()!
path := gr.path_content_get() // path of the manual
imagemagick.scan(path: path, backupdir: '/tmp/backupimages')!
// remove changes so we can do again
// gr.remove_changes()!
}
fn main() {
do() or { panic(err) }
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

View File

@@ -0,0 +1 @@
This is not an image

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB