Why uploaded photo is much smaller than saved – Delphi 10.3.2, firemonkey

I have Delphi 10.3.2 I do not understand this situations: 1) Uploading photo about 1M image1.Bitmap.LoadFromFile(‘test.jpg’); Then I save the same photo image1.Bitmap.SaveToFile(‘test_new.jpg’); and test_new.jpg is about 3M. Why ??? 2) I want to send a photo from the TImage (test1.jpg – 1MB) object using IdHTTP and POST request to server. I use the function…

Details

How to check for a key with value type array with taocpp json

Need to find if an array exists in an json objects using taocpp-json. It is easy to use optional for finding ints and boolean etc., but with if the value is an array, I cannot find out how to do it. I tried: v.optional<std::vector<tao::json::value>>(“fields”); But this gives me compiler error! On msvc: C:\PROGRA~2\MICROS~1\2017\PROFES~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /nologo /TP…

Details

linux-5.2.8 make errors at inat-tables.c inat.c and decode.o

Untar and open linux-5.2.8. success. Make mrproper. Success. Make defconfig. Success. Make menuconfig. Success. Make… Error error error. Something about decode.o inat.c and inat-tables.c *Actually! In the first make (exactly after ‘make menuconfig’) it returns an error with a message saying “awk: command not found”. When i try to make again it returns many errors…

Details