diff --git a/bin/dither/dither.rb b/bin/dither/dither.rb index 91551ad..02128b6 100644 --- a/bin/dither/dither.rb +++ b/bin/dither/dither.rb @@ -29,9 +29,13 @@ get "/*" do |path| convert << @decrypted.path if geometry - convert.resize "#{geometry}^" - convert.gravity "center" - convert.extent geometry + if geometry.start_with?("x") || geometry.end_with?("x") + convert.resize geometry + else + convert.resize "#{geometry}^" + convert.gravity "center" + convert.extent geometry + end end convert.ordered_dither "o8x8" diff --git a/content/journal/dispatch-8-october-2023/index.md b/content/journal/dispatch-8-october-2023/index.md index ab955fd..6def424 100644 --- a/content/journal/dispatch-8-october-2023/index.md +++ b/content/journal/dispatch-8-october-2023/index.md @@ -38,13 +38,13 @@ It wasn't all perfectly smooth -- Nev had a tough time with jet lag, and driving [3]: https://www.infoelba.com/discovering-elba/communes-towns/rio-marina/cavo/ [4]: https://ilpomodorino.it/ -{{}} -{{}} -{{}} +{{}} +{{}} +{{}} -{{}} -{{}} -{{}} +{{}} +{{}} +{{}} I downloaded the [Airalo][5] app before I left, which offers cheap international data plans using e-SIM cards. The app works great, no complaints there, but mixed feelings about having a working phone while on vacation -- it was cool to be able to send photos + make video calls, but my company's going through some tough times and I couldn't pull myself away from Slack and email.