From 1a4506e1bf619d0378832773f355b0014dcc1459 Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 8 Apr 2024 21:55:29 +0100 Subject: Update icon, and improve flatpak info following flathub guidelines --- cmd/rescribe/icon.256.png | Bin 5945 -> 9523 bytes cmd/rescribe/icon.png | Bin 13997 -> 55609 bytes cmd/rescribe/icon.svg | 484 ++++++++++++++++++++++--- cmd/rescribe/xyz.rescribe.rescribe.appdata.xml | 27 +- cmd/rescribe/xyz.rescribe.rescribe.yml | 1 + 5 files changed, 459 insertions(+), 53 deletions(-) (limited to 'cmd') diff --git a/cmd/rescribe/icon.256.png b/cmd/rescribe/icon.256.png index 79e922e..e14ee0e 100644 Binary files a/cmd/rescribe/icon.256.png and b/cmd/rescribe/icon.256.png differ diff --git a/cmd/rescribe/icon.png b/cmd/rescribe/icon.png index dcfb0f5..3084968 100644 Binary files a/cmd/rescribe/icon.png and b/cmd/rescribe/icon.png differ diff --git a/cmd/rescribe/icon.svg b/cmd/rescribe/icon.svg index d60a36c..491cea0 100644 --- a/cmd/rescribe/icon.svg +++ b/cmd/rescribe/icon.svg @@ -1,60 +1,446 @@ - - - - image/svg+xml - - - - - - + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + inkscape:window-y="0" + inkscape:window-maximized="1" + inkscape:current-layer="svg276" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + id="g11977" + transform="matrix(-0.41045839,0,0,0.41045839,164.11052,58.41254)" + style="display:none"> + + + + + + + + + + + + + + + + + + sodipodi:nodetypes="cc" + style="display:inline;opacity:0.154;fill:none;stroke:#ffffff;stroke-width:1.60792;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;enable-background:new" + d="M 127.89692,108.67878 143.89849,92.776407" + id="path1566-2" + inkscape:connector-curvature="0" /> + + + + + diff --git a/cmd/rescribe/xyz.rescribe.rescribe.appdata.xml b/cmd/rescribe/xyz.rescribe.rescribe.appdata.xml index 98916b5..9786c09 100644 --- a/cmd/rescribe/xyz.rescribe.rescribe.appdata.xml +++ b/cmd/rescribe/xyz.rescribe.rescribe.appdata.xml @@ -4,13 +4,27 @@ Rescribe Rescribe Ltd - High quality OCR for images, PDFs and Google Books. + OCR images, PDFs and Google Books -

An easy-to-use desktop tool for OCR of images, PDFs and Google Books. It uses the Tesseract OCR engine, combined with modern and efficient preprocessing and analysis pipelines, to produce high quality output in plain text, hOCR and searchable PDF format. The tool has been built with a focus on OCR of historical printed works, but it includes modern language options and also works well on modern printed works.

+

An easy-to-use desktop tool to recognise and extract text from images, PDFs and Google Books. It uses the Tesseract OCR engine, combined with modern and efficient preprocessing and analysis pipelines, to produce high quality output in plain text, hOCR and searchable PDF format. The tool has been built with a focus on OCR of historical printed works, but it includes modern language options and also works well on modern printed works.

- https://rescribe.xyz/rescribe/screenshot-03.png - https://rescribe.xyz/rescribe/screenshot-04.png + + Main window + https://rescribe.xyz/rescribe/screenshot-03.png + + + Dark mode + https://rescribe.xyz/rescribe/screenshot-04.png + + + OCR in progress + https://rescribe.xyz/rescribe/screenshot-05.png + + + OCR completed + https://rescribe.xyz/rescribe/screenshot-06.png + https://rescribe.xyz/rescribe @@ -22,6 +36,11 @@ + + #cdab8f + #63452c + + diff --git a/cmd/rescribe/xyz.rescribe.rescribe.yml b/cmd/rescribe/xyz.rescribe.rescribe.yml index bd8faf4..0e647b5 100644 --- a/cmd/rescribe/xyz.rescribe.rescribe.yml +++ b/cmd/rescribe/xyz.rescribe.rescribe.yml @@ -22,6 +22,7 @@ modules: - install -Dm00755 cmd/rescribe/rescribe $FLATPAK_DEST/bin/rescribe-bin - install -Dm00755 cmd/rescribe/rescribe-wayland $FLATPAK_DEST/bin/rescribe-bin-wayland - install -Dm00644 cmd/rescribe/icon.256.png $FLATPAK_DEST/share/icons/hicolor/256x256/apps/xyz.rescribe.rescribe.png + - install -Dm00644 cmd/rescribe/icon.svg $FLATPAK_DEST/share/icons/hicolor/scalable/apps/xyz.rescribe.rescribe.svg - install -Dm00644 cmd/rescribe/xyz.rescribe.rescribe.desktop $FLATPAK_DEST/share/applications/xyz.rescribe.rescribe.desktop - install -Dm00644 cmd/rescribe/xyz.rescribe.rescribe.appdata.xml $FLATPAK_DEST/share/appdata/xyz.rescribe.rescribe.appdata.xml - printf '#!/bin/sh\nexport TMPDIR=$XDG_RUNTIME_DIR\nbin=rescribe-bin\ntest -n "$WAYLAND_DISPLAY" && bin=rescribe-bin-wayland\n"$bin" -gbookcmd "/app/bin/getgbook" -tesscmd "/app/bin/tesseract" -t "/app/share/tessdata/rescribev9_fast.traineddata"\n' > $FLATPAK_DEST/bin/rescribe -- cgit v1.2.1-24-ge1ad