Closed vult-r closed 3 years ago
Due to the Jpeg compression format supported it is not possible to skip decoding blocks. Block must be decoded fromthe start. It is possible to stop decoding if the blocks are below the required image block range using JpegDec.abort();
Hi,
Is there any support / function to skip entire mcu's inside the .read() loop?
in my case im not looking to decode the entire picture, but just a small box inside a byte-buffer.
( detecting motion in an area )
i tried manipulating mcu_x and mcu_y , but the order of decoding still seems to go from begin to end without a skip.
(this is the mod i tried to add, but it doesnt seem to skip at all)