File data extraction and manipulation for different types of files

Hey guys,

I’m working on a steganography project and I was wondering if there are any libraries I can use that allow for easy data manipulation regardless of file type. For example, I want to separate an image’s pixel data from its metadata.