I am somewhat disappointed in the image upload capabilities of Oddµ. I thought I had it figured out. If you upload an image, it shows you the image you uploaded, small; it increments a number for the next filename and it allows you to upload the next image; you can scale the image (e.g. width 1200), change the image quality (e.g. 75% for JPEG files)…
And then the iPhone uploads HEIC files instead of JPEG files unless you mess with it. When picking the image, you need to click on *options* at the bottom and specify:
If you choose "Full Size", Oddµ crashes. If you choose "Medium" size, the resulting image is too small. If you choose "Automatic" format, you'll get a HEIC file. Even if you choose "Most Compatible" format, the help text says you might also get H.264 which I bet Oddµ also cannot handle.
When I tried to use one of the various HEIC libraries or Go in order to support direct HEIC uploads, Oddµ would hang after uploading a file. That's not good. And I'm not sure what the problem is. Something about libde256? But as it turns out, uploading "Full Size" photos also crashes Oddµ.
#Oddµ #Programming
Well. I reworked the code. Found a repo that had the patch I was missing (perhaps?) and it compiles and the tests pass (but I can't create HEIC files so there's no automatic testing) but it works locally… so we'll see!