JPEG uses the YCbCr color space internally everywhere.
If you look at Stephen Brumme's toojpeg.cpp:writeJpeg() function (starting at line 556 in version 1.5), you can see three 8×8 arrays of floats: Y, Cb, and Cr. ...
It seems to me the most sensible option is to expand the serial mode (cores/teensy4/HardwareSerial.h) with a mask flag, bit 6 or bit 10, that when set, causes the data to be masked to contain only the data bits. Of...
It is an interesting difference in microcontroller hardware designs.
On some, the pin input (and interrupts etc.) are separate from the other peripherals on that pin, basically always enabled. This can be useful,...
Could be some kind of caching issue, I dunno.
Sometimes, I admit, I forget to Save my source code before I compile/build and install it. And then scratch my head in puzzlement...
Are you sure you're using the same <SD.h> and <SdFat.h> on PlatformIO as on Arduino? Teensyduino provides its own versions of SD and SdFat libraries. Perhaps you use the Arduino ones with PlatformIO instead?