Skip to content

Releases: archer884/annatar

Dependabot

13 Apr 17:47
Compare
Choose a tag to compare

Security updates.

dependabot

Are actual security vulnerabilities possible with annatar? Who knows. Probably not. It's not like you're using it as a server. Still, here are your darned security updates.

FAKE NEWS

29 May 20:28
Compare
Choose a tag to compare

I've been using Linux a lot lately and it's been REALLY annoying that annatar wasn't able to handle the particular kinds of challenges presented by the Linux environment. Specifically, most distributions do not include impact.ttf, which is annatar's default font for printing captions. Attempting to generate an image would result in a) a rather stupid error message and b) an annoying search for an appropriate font followed by c) rerunning the command with a custom font applied.

angry-kid

Luckily, you can now avoid all that! All you need to do (for now, until I decide which font to set as the default for Linux, presumably) is set a font using an environment variable. For example:

export ANNATAR_DEFAULT_FONT=D050000L

Note: the above setting is not recommended.

Little Lord Font-Leroy

21 Apr 05:37
9fb9156
Compare
Choose a tag to compare

For... Hell, since sometime in 2019, I have known that the previous release of annatar no longer worked on the latest version of macOS thanks to Tim Cook's fuckery. This was caused by the fact that the fine folks over at Apple chose to move the fonts someplace else on your hard drive. I didn't fix it forever because, in fact, the fonts were moved someplace you couldn't get to the old fashioned way, and also because I changed jobs and began mostly using Windows for work again.

fontleroy

COVID giveth and COVID taketh away. Actually, I don't have more free time now thanks to beer plague; I have exactly the SAME amount of free time; it just so happens that I spent some of it researching the font problem and found a solution in the form of font-kit. Props to the Servo team over at Mozilla. The problem on macOS Catalina is now fixed.

Another arbitrary change is that alternate fonts are now selected by name rather than by path. I personally think this is a much more reasonable API, and it's what I would have done in the first place had I known how. The image above was made using the following command:

annatar https://longstupidurl.com \
    -b 'pls kill me' \
    -o fontleroy.jpg \
    --font 'Comic Sans MS'

Don't let your memes be dreams.

The Dogening!

18 Aug 23:46
f4777bb
Compare
Choose a tag to compare

It's been a long time coming, but it's FINALLY HERE: you can now have annotations with different sizes. See the readme for more info.

doge

Apparently, the dog isn't really all that happy about my name for this version...

Chocolatey didn't really work out because it took them like a year to approve the With Nuts release and I got sick and tired of their shit. I'll provide both Windows and macOS binaries, but the best way for you to install annatar is probably still to just get it from crates.io via cargo. Just visit rustup.rs to get started.

With Nuts

09 Jan 23:06
Compare
Choose a tag to compare

This release fixes an issue with the help info provided. More importantly, this version will be made available to Windows users via Chocolatey. Hopefully.

sauron

Original Sin

19 Dec 19:55
7f51a65
Compare
Choose a tag to compare

This release revamps the AA factor applied to text to improve appearance at some resolutions. More importantly, however, it adds a little padding to the vertical height of your text so that dangly lowercase letters have a harder time losing part of their border. The latter issue was discovered when attempting to employ some seriously OLD TESTAMENT fonts to a new programming meme.

death-test

Who knew the Apostle Paul was familiar with JavaScript?

Bitterbrew

13 Jun 16:18
Compare
Choose a tag to compare

For this version, I have ripped out the guts of the program and put them into a separate library. I still have no plans to change the CLI in a backward-incompatible manner, but I also still have plans to extend it somehow.

This time you can just download the executable, at least for mac os.

The Scriptbreaker

06 Jun 01:06
Compare
Choose a tag to compare

I gained a level in Clap-rs and now the command line interface makes slightly more sense. Furthermore, you can add text to the top, middle, or bottom of an image--although still only one line each. Lastly, it is now possible to target an image from the web rather than first saving the file and then doing the needful.

grumpy-cat-has-earned-her-owner-nearly-100-million-in-just-2-years-annotated

Captain Caption

02 Jun 20:21
Compare
Choose a tag to compare
Captain Caption Pre-release
Pre-release

Annatar now supports the ability to caption images. You get only one line, so make it count. And I hope you like white text with a black border, because you can change the font, but hell if you can change much else. Text size can be scaled, but border size is fixed as a proportion of text size.

Probably the most annoying thing is that the border is not anti-aliased even though the text itself is, but fixing that is not on the roadmap at the moment.