I wonder what is the fastest way do downscale an image and save it to a stream or a file without using external executables (image magic, etc)?
I will also need some cropping.
All free LPKs are fine.
FPC has bindings for the imagemagic LIBRARIES, no need to call the executable to have the speed of imagemagic.
The Imagemagic lib can also be statically linked into your executable and is (at the moment...) still MUCH (4-5 times) faster than any pure pascal solution I know of, including BGRABitmap.
Also note that hardware accelerated OpenGL is fully supported by Intel VGA's on ANY platform that supports OpenGL (That includes Windows, Linux and Android)