Evgeny Varnavskiy
Evgeny Varnavskiy
Looks like here: `piexif.transplant(os.path.expanduser(task.src_path), tmp_buffer)` you're giving `tmp_buffer` that is `BytesIO`. But `transplant` wants path to actual file. Always the same. I'm using latest revision from this repo.
You actually don't need piexif, Pillow can handle this: Load all EXIF data: ``` exif = img.info['exif'] ``` Save it: `img.save('P4072956_thumb.jpg', exif=exif)`
Same thing. Windows 11 WSL2, latest Docker
Works for me, I'm getting `AC info: N549CA, CRJ9, SKW` @olyair11 do you have a script to generate database file from CSV?
I tried to implement automated builds: https://github.com/varnav/BaseStation.sqb
Also it seems that: `CREATE INDEX IX_ModeS ON Aircraft(ModeS);` is not needed because earlier: `CREATE TABLE Aircraft(ModeS PRIMARY KEY, Registration, ICAOTypeCode, OperatorFlagCode, Manufacturer, Type, RegisteredOwners);` ModeS table is already a...
I made another optimization: https://github.com/varnav/BaseStation.sqb/commit/9b5ccb8b8fe1e5b55d402714f3d3de6f7e156ec8 Please test.
If we keep it separate I'd be happy to add you as contributors to my repo.
This can be solved by setting some reasonable default value to "threshold", like 1%. At current defaults jpegoptim will try to optimize if there's even a 0.01% gain or less....