Stored thumbnail data can be accessed outside of P4V by using the p4 fstat command. For example:
p4 fstat -Oae -A thumb //depot/imageFile#rev
where "//depot/imageFile" is the file of interest, and "rev" is the revision number of this file.
Image thumbnails are stored as file attributes in the db.traits table.