I got to tour the Spheres at Amazon this week, and it was pretty awesome. There’s quite a lot of space to hang out and relax, but for now you have to make an appointment to go as they ramp up letting people in. I sat for a bit and enjoyed a donut.

I took these pictures on my iPhone 8 Plus, and pretty much just walked around and snapped whatever.

To put these on this page, I wanted to resize them such that the width of the images was fixed regardless of their orientation. To do this, I used ImageMagick. These notes are mostly for me.

First, I need to find each image’s orientation:

for i in `ls *.jpeg`; do
j=`identify -format '%[orientation]' $i`;
echo $j,$i;
done