canvas_ity VS osxphotos

Compare canvas_ity vs osxphotos and see what are their differences.

osxphotos

Python app to work with pictures and associated metadata from Apple Photos on macOS. Also includes a package to provide programmatic access to the Photos library, pictures, and metadata. (by RhetTbull)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
canvas_ity osxphotos
7 96
318 1,699
- -
2.5 9.4
2 months ago 4 days ago
C++ Python
ISC License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

canvas_ity

Posts with mentions or reviews of canvas_ity. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-01.
  • Writing a TrueType font renderer
    9 projects | news.ycombinator.com | 1 Jan 2024
    I have a small TTF implementation that's in the neighborhood of that size and is open source. It's part of my canvas_ity single-header library [0] that's around 2300 LOC / 36 KB object size and implements a C++ version of most of the 2D HTML5 canvas spec [1].

    The core implementation of the TTF parsing and drawing is in L1526-L1846 with another small bit at L3205-L3274 of src/canvas_ity.hpp.

    It's something of a toy implementation that only supports western left-to-right text, and doesn't do any hinting at all, nor kerning, nor shaping. But it's enough to draw a basic "Hello world!" using any typical TTF file.

    The test suite in test/test.cpp L84-304 embeds a few custom Base64-encoded TTF files. They're small and only have a few glyphs but they do exercise a number of interesting edge cases in the OpenType TTF spec [2]. Have a look at the HTML5 port of the test suite at test/test.html in different browsers to see how their canvas implementations render those fonts.

    [0] https://github.com/a-e-k/canvas_ity

    [1] https://www.w3.org/TR/2015/REC-2dcontext-20151119/

    [2] https://standards.iso.org/ittf/PubliclyAvailableStandards/c0...

  • The Lone Developer Problem
    3 projects | news.ycombinator.com | 27 Feb 2023
    Agreed, that sort of documentation is pure gold when done well.

    It's something I always try to pay forward by doing in my own code. For example, one of my own solo projects was an STB-style single-header -like rasterizer library for C++. I started the implementation half of the library with a short outline of the rendering pipeline's dataflow and the top-level functions responsible for each stage:

    https://github.com/a-e-k/canvas_ity/blob/f32fbb37e2fe7c0fcae...

  • Ask HN: What have you created that deserves a second chance on HN?
    44 projects | news.ycombinator.com | 26 Jan 2023
    https://github.com/a-e-k/canvas_ity

    This is an STB-style single-header C++ library with no dependencies beyond the standard C++ library. In about 2300 lines of 78-column code (not counting blanks or comments), or 1300 semicolons, it implements an API based on the basic W3C specification to draw 2D vector graphics into an image buffer:

    - Strokes and fills (with antialiasing and gamma-correct blending)

    - Linear and radial gradients

    - Patterns (with repeat modes and bi-cubic resampling)

    - Line caps and line joins (handling high curvature)

    - Dash patterns and dash offsets

    - Transforms

    - Lines, quadratic and cubic Beziers, arcs, and rectangles

    - Text (very basic, but does its own TTF font file parsing!)

    - Raster images (i.e., sprites)

    - Clipping (via masking)

    - Compositing modes (Porter-Duff)

    - Drop shadows with Gaussian blurs

    I also uncovered a number of interesting browser quirks along the way with the HTML5 port of my testing suite.

  • Hello, PNG
    13 projects | news.ycombinator.com | 18 Jan 2023
  • A tiny, single-header -like 2D rasterizer for C++
    1 project | news.ycombinator.com | 10 Oct 2022
  • canvas_ity - A tiny, single-header <canvas>-like 2D rasterizer
    2 projects | /r/cpp | 10 Oct 2022
    Repository: https://github.com/a-e-k/canvas_ity
  • Show HN: Canvas_ity – A tiny, single-header -like 2D rasterizer for C++
    1 project | news.ycombinator.com | 9 Oct 2022

osxphotos

Posts with mentions or reviews of osxphotos. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-05.
  • Cleaning up my 200GB iCloud with some JavaScript
    8 projects | news.ycombinator.com | 5 Jan 2024
    > Any method that I've found to clean them up (exporting the originals, deleting them from the library, and then re-importing the JPEGs only seems easiest) will lose all of the years of metadata that I've built up in the library.

    The open source tool osxphotos (https://github.com/RhetTbull/osxphotos) can help with this. You can export the JPEG images while preserving metadata using the thrid-party exiftool utility:

    `osxphotos export /path/to/export --has-raw --skip-raw --exiftool`

    This exports all images that have a raw pair but skips the raw component then uses exiftool (https://exiftool.org/) to write the metadata (keywords, etc.) to the exported JPEG files. You can then re-import these into photos either by dragging them or by running `osxphotos import /path/to/export/*`

    Both the export and import commands have many other options for controlling export directory, etc. `osxphotos help export` or `osxphotos docs` to open docs in browser. (Disclaimer: I'm the author of osxphotos)

  • pipx install osxphotos fails
    1 project | /r/osxphotos | 10 Dec 2023
    See the issue tracker if you want to follow along. Hopefully this is an easy fix and I can push a patch today.
  • Delete empty albums
    1 project | /r/osxphotos | 7 Dec 2023
    In response to a question on the osxphotos GitHub Discussions page, I wrote a quick script to do prune empty albums and folders from Photos that can be run with osxphotos (version 0.65.0 and later). You can run the script directly from GitHub without downloading it first via:
  • Library backup
    1 project | /r/ApplePhotos | 5 Dec 2023
    You could try opening the library with PowerPhotos, a commercial app that can manage multiple Photos libraries, to see if it can read it. You could also try my free open source command line tool, osxphotos. Install it then run this command in the Terminal: osxphotos info --library /path/to/the/library This should print out a list of information about the library: number of photos, number of albums, keywords in the library, etc. If that works, then osxphotos can read the library and can likely export the photos for you so you could re-import into a new library.
  • Exploring EXIF
    5 projects | news.ycombinator.com | 6 Sep 2023
    I'm the author of the osxphotos[0] tool mentioned in the article. For photos in an Apple Photos library, osxphotos gives you access to a rich set of metadata beyond what's in the actual EXIF/IPTC/XMP of the image. Apple performs object classification and other AI techniques on your images but generally doesn't expose this to the user. For example, photos are categorized as to object in them (dog, cat, breed of dog, etc.), rich reverse geolocation info (neighborhood, landmarks, etc.) and an interesting set of scores such as "overall aesthetic", "pleasant camera tilt", "harmonious colors", etc. These can be queried using osxphotos, either from the command line, or in your own python code. (Ref API docs[1])

    For example, to find your "best" photos based on overall aesthetic score and add them to the album "Best Photos" you could run:

    osxphotos query --query-eval "photo.score.overall > 0.8" --add-to-album "Best Photos"

    To find good photos with trees in them you could try something like:

    osxphotos query --query-eval "photo.score.overall > 0.5" --label Tree --add-to-album "Good Tree Photos"

    There's quite a bit of other interesting data in Photos that you can explore with osxphotos. Run `osxphotos inspect` and it will show you all the metadata for whichever photo is currently selected in the Photos app.

    [0] https://github.com/RhetTbull/osxphotos

  • Third Party Apps that work with Apple Photos Library
    1 project | /r/ApplePhotos | 27 Aug 2023
    osxphotos is my own tool for power users to interact with Photos from the command line: export, batch edit, sync metadata, import, etc.
  • Alpha support for macOS Sonoma
    1 project | /r/osxphotos | 19 Jul 2023
    osxphotos v0.60.8 adds initial alpha support for macOS Sonoma (macOS 14.0.0 / Photos 9.0). Everything seems to be working but if you are beta testing Sonoma and use osxphotos I'd welcome any feedback you have!
  • How can I export my iCloud photo library to Amazon Photos on Mac OS?
    1 project | /r/DataHoarder | 5 Jun 2023
  • Shared Library: Albums Aren’t Shared
    1 project | /r/ApplePhotos | 16 May 2023
    I'm the author of the free/open source tool osxphotos which provides several utilities fo working with Photos and exporting your photos. You can use the batch-edit feature to automatically add the album name as a keyword and I believe keywords are shared across users. (I don't use shared libraries so can't confirm this). I am working on a feature to then automatically re-create the albums from the keywords on the target library. For now the keywords is a partial work around.
  • any program for MACOS or for Ubuntu that is free that allows you to edit the meta tags of photos en masse. Thanks!
    2 projects | /r/MacOS | 8 May 2023
    If you want to edit batch metadata of photos that are in the Apple Photos app on a Mac, I'm the author of a free tool, osxphotos that includes a batch-edit command that will edit the metadata in the Photos library.

What are some alternatives?

When comparing canvas_ity and osxphotos you can also consider the following projects:

nanovgXC - Lightweight vector graphics library implementing exact-coverage antialiasing in OpenGL

exiftool - ExifTool meta information reader/writer

tinf - Tiny inflate library (inflate, gzip, zlib)

icloud-drive-docker - Dockerized iCloud Client - make a local copy of your iCloud documents and photos, and keep it automatically up-to-date.

Tephra - A modern, high-performance C++17 graphics and compute library based on Vulkan

photos_time_warp - Batch adjust the date, time, or timezone of photos in Apple Photos from the Mac command line.

art - @Bigfan/art is a React custom renderer for HTML5 Canvas.

icloud_photos_downloader - A command-line tool to download photos from iCloud

fpng - Super fast C++ .PNG writer/reader

ipyflow - A reactive Python kernel for Jupyter notebooks.

figlet-fonts - my collection of figlet / toilet ascii art fonts

Home Assistant - :house_with_garden: Open source home automation that puts local control and privacy first.