Glyphtracer is an app for converting images of letters to a font

Overview

Glyphtracer

A screenshot of Glyphtracer

Overview

Glyphtracer takes an image that contains pictures of several letters. It recognizes all them and lets the user tag each letter to a Unicode code point. It then converts the images to vector form and writes them to a FontForge's data format. The font can then be finalized with FontForge.

Dependencies

Glyphtracer requires PyQt5 and Potrace, which is an image vectorizer.

It has been only tested on Linux. It might work on OSX or Windows. It might not.

Usage tips

Glyphtracer only processes 1 bit images, but they can be in any format understood by Qt.

The letter recognition is based on white space. Thus every row must be separated from other rows by a continuous horizontal strip of white. If this is not the case (because, for example, your image is tilted), detection will fail. Similarly letters on a single row have to be separated by vertical white space. Just give your letters lots of "room" on all sides and everything will work.

You might also like...
Create a QR-code Generator app using only Python.

QR-code_Generator Create a QR-code Generator app using only Python. This apps generated a QR code for a single link. Libraryes used in this app -- py

Simple AI app that is guessing color of apple in picture

Apple Color Determinant Application that is guessing color of apple from image Install Pillow, sklearn and numpy, using command for your package manag

Forza painter app with python
Forza painter app with python

forza-painter Discord: A-Dawg#0001 (AE) Supports: Forza Horizon 5 Offically (OTHER v1.405.2.0, MS STORE v3.414.967.0, STEAM v1.414.967.0) Unofficially

Image Compression GUI APP Python: PyQt5

Image Compression GUI APP Image Compression GUI APP Python: PyQt5 Use : f5 or debug or simply run it on your ids(vscode , pycham, anaconda etc.) socia

Qrgenerator - A qr generator app using python3
Qrgenerator - A qr generator app using python3

qrgenerator by Mal4D Hi welcome into qr code generator using python by Mal4d Lin

Rembg is a tool to remove images background.
Rembg is a tool to remove images background.

Rembg is a tool to remove images background.

A large-scale dataset of both raw MRI measurements and clinical MRI images

fastMRI is a collaborative research project from Facebook AI Research (FAIR) and NYU Langone Health to investigate the use of AI to make MRI scans faster. NYU Langone Health has released fully anonymized knee and brain MRI datasets that can be downloaded from the fastMRI dataset page. Publications associated with the fastMRI project can be found at the end of this README.

A simple programming language for manipulating images.

f-stop A simple programming language for manipulating images. Examples OPEN "image.png" AS image RESIZE image (300, 300) SAVE image "out.jpg" CLOSE im

A simple Streamlit Component to  compare images in Streamlit apps. It integrates Knightlab's JuxtaposeJS
A simple Streamlit Component to compare images in Streamlit apps. It integrates Knightlab's JuxtaposeJS

streamlit-image-juxtapose A simple Streamlit Component to compare images in Streamlit apps using Knightlab's JuxtaposeJS. The images are saved to the

Comments
  • refresh metadata to flathub standards

    refresh metadata to flathub standards

    I saw https://nibblestew.blogspot.com/2021/09/glyphtracer-20.html and wanted to have a play with it myself. So I built up a quick flatpak manifest and generated some modern metadata for better Linux desktop integration. The icon was just quickly generated with https://flathub.org/apps/details/org.gnome.design.Emblem and I in no way feel strongly about it - I just needed a placeholder!

    For flatpak you need a reverse dns style dbus name which I've generated out of the repo here. Again, if you have a namespace you prefer then editing it is very easy.

    An obvious next step would be to put a bit more of a buildsystem around this to install the files in the correct location - for the purposes of flatpak I didn't need that but it'd be more useful for other users.

    If you think this is vaguely useful I'll put the manifest on flathub as this is exactly the kind of rarely changing app where sticking it in a container works well.

    opened by nedrichards 1
  • pull request

    pull request

    Hi, I just saw you updated Glyphtracer to Qt5 last year. In 2015, I made a fork of GlyphTracer. I think I sent you a mail back then for merging our projects but it might have ended in limbo... If you're interested to look at it, it's there: https://github.com/osp/osp.tools.fons

    I don't recall all the changes I've made. But from what I recall:

    • I replaced potrace with autotrace so that the tracing is made directly with python-fontforge in order to add the scan of the letter in a layer so that one can have it as a reference if s·he wants to modify it in Fontforge
    • I added a font height and font ascent settings so that the scales are good when opening the font
    • I added zoom scales, new characters
    • I added autowidth and autohint
    • I added spacing characters automatically

    In the repo, I added some guidelines to prepare the images for the scanning.

    Hope this finds your interests!

    opened by latsami 1
  • Add to flathub

    Add to flathub

    As I mentioned in https://github.com/jpakkane/glyphtracer/pull/2 this is exactly the kind of app that works well in a container. I'm going to submit it to flathub, would you like to have commit rights there? That means you'll be able to update it if there's a new release and generally be in charge.

    https://github.com/flathub/flathub/wiki/App-Submission has some more information on this if you're interested.

    opened by nedrichards 1
Owner
Jussi Pakkanen
Jussi Pakkanen
The friendly PIL fork (Python Imaging Library)

Pillow Python Imaging Library (Fork) Pillow is the friendly PIL fork by Alex Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lund

Pillow 10.4k Dec 31, 2022
Img-to-ascii-art - Converter of image to ascii art

img-to-ascii-art Converter of image to ascii art Latest Features. Intoducing Col

1 Dec 31, 2021
A drop-in replacement for django's ImageField that provides a flexible, intuitive and easily-extensible interface for quickly creating new images from the one assigned to the field.

django-versatileimagefield A drop-in replacement for django's ImageField that provides a flexible, intuitive and easily-extensible interface for creat

Jonathan Ellenberger 490 Dec 13, 2022
QR-code Generator with a basic GUI.

Qr_generator_python Qr code generator with a basic GUI. ❔ About the QR-Code-Generator This project Generates QR codes to sites, e-mails and plain text

Tecixck 2 Oct 11, 2021
API to help generating QR-code for ZATCA's e-invoice known as Fatoora with any programming language

You can try it @ api-fatoora api-fatoora API to help generating QR-code for ZATCA's e-invoice known as Fatoora with any programming language Disclaime

نافع الهلالي 12 Oct 05, 2022
Kainat 13 Mar 07, 2022
A pure python implementation of the GIMP XCF image format. Use this to interact with GIMP image formats

Pure Python implementation of the GIMP image formats (.xcf projects as well as brushes, patterns, etc)

FHPyhtonUtils 8 Dec 30, 2022
LGVL helper script to batch and convert with lvgl offline image converter

script to batch and convert with lvgl offline image converter

Yohann 1 Oct 05, 2022
Python class that generates pixel art from images

Python class that generates pixel art from images

Richard Nagyfi 1.4k Dec 29, 2022
A Python3 library to generate dynamic SVGs

The Python library for generating dynamic SVGs using Python3

1 Dec 23, 2021
👾 Python project to help you convert any image into a pixel art.

👾 Pixel Art Generator Python project to help you convert any image into a pixel art. ⚙️ Developer's Guide Things you need to get started with this co

Atul Anand 6 Dec 14, 2022
Water marker for images.

watermarker linux users: To fix this error,please add truetype font path File "watermark.py", line 58, in module font = ImageFont.truetype("Dro

13 Oct 27, 2022
Python library that finds the size / type of an image given its URI by fetching as little as needed

FastImage This is an implementation of the excellent Ruby library FastImage - but for Python. FastImage finds the size or type of an image given its u

Brian Muller 28 Mar 01, 2022
A QR Code encode and decode python module

A QR Code encode and decode python module

Fayas Noushad 4 Feb 10, 2022
Generate meme GIFs in which an image you choose can be viewed by the user only after they wait a whole hour.

Generate meme GIFs in which an image you choose can be viewed by the user only after they wait a whole hour.

Feliks Maak 1 Jan 31, 2022
LSB Image Steganography Using Python

Steganography is the science that involves communicating secret data in an appropriate multimedia carrier, e.g., image, audio, and video files

Mahmut Can Gönül 2 Nov 04, 2021
Simple utility to tinker with OPlus images

OPlus image utilities Prerequisites Linux running kernel 5.4 or up (check with uname -r) Image rebuilding Used to rebuild read-only erofs images into

Wiley Lau 15 Dec 28, 2022
An API which would colorize a black and white image

Image Colorization API Machine Learning Model used- https://github.com/richzhang/colorization/tree/caffe Paper - https://arxiv.org/abs/1603.08511 Step

Neelesh Ranjan Jha 4 Nov 23, 2021
Cat avatars for adult independent users

Cat avatars for adult independent users Samples (Natasha, wake up!) Usage Check values from https://shantichat.github.io/avacats/index.json: { "sizes"

4 Nov 05, 2021
Next-generation of the non-destructive, node-based 2D image graphics editor

Non-destructive, node-based 2D image graphics editor written in Python, focused on simplicity, speed, elegance, and usability

Gimel Studio 238 Dec 30, 2022