Handle partial geometries
This commit is contained in:
@@ -29,10 +29,14 @@ get "/*" do |path|
|
||||
convert << @decrypted.path
|
||||
|
||||
if 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"
|
||||
convert.monochrome
|
||||
|
||||
@@ -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/
|
||||
|
||||
{{<dither IMG_4710.jpeg "534x" />}}
|
||||
{{<dither IMG_4771.jpeg "534x" />}}
|
||||
{{<dither IMG_4781.jpeg "534x" />}}
|
||||
{{<dither IMG_4710.jpeg "510x" />}}
|
||||
{{<dither IMG_4771.jpeg "510x" />}}
|
||||
{{<dither IMG_4781.jpeg "510x" />}}
|
||||
|
||||
{{<dither IMG_4809.jpeg "534x" />}}
|
||||
{{<dither IMG_4842.jpeg "534x" />}}
|
||||
{{<dither IMG_4886.jpeg "534x" />}}
|
||||
{{<dither IMG_4809.jpeg "510x" />}}
|
||||
{{<dither IMG_4842.jpeg "510x" />}}
|
||||
{{<dither IMG_4886.jpeg "510x" />}}
|
||||
|
||||
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user