Skip to main content

jpeg_blocks

Function jpeg_blocks 

Source
pub fn jpeg_blocks(data: &[u8]) -> (Option<Vec<u8>>, Option<Vec<u8>>)
Expand description

The IPTC block (from Photoshop’s APP13 resource 0x0404) and the XMP packet of a JPEG, scanning the segments up to the image data.