Raw (YUV/RGB/RGBA/etc.) captures against the still port fail when resolution is 2592x1944 with an out of memory error in the latest firmware (656). This doesn't happen in raspiyuv but the pipeline in picamera is rather more complex: raspiyuv sets the preview res to 1296x972 (rounded up) while picamera has one res for everything (in this case 2592x1944), and picamera uses a resizer (in this case redundantly) to perform conversion to the appropriate raw format rather than reconfigure the camera's ports (which would break capture-while-recording for the video ports).
Not sure what the solution here is - it's probably soluble in picamera but only by breaking backwards compatibility by changing various things about raw capture. For now I'm tempted to leave it as a known issue in the release and see if anybody complains about it? (i.e. does anyone really care about full res raw captures or is this a niche bit of functionality)
该提问来源于开源项目:waveform80/picamera