Snapmatic
With this package you can get information of GTA V Snapmatic pictures like Title, Description and the location.
Example
Code
const Snapmatic = ; "file Path here" { console; console; console; console; // Save the Image data;};
Return
Title: Strawberry
Desc:
Header: 10/18/17 06:32:02
Data: {
loc: { x: 272.25247, y: -1267.22839, z: 29.14291 },
area: 'STRAW',
street: 0,
nm: '',
rds: '',
scr: 1,
sid: '0x0',
crewid: 0,
mid: '',
mode: 'SP',
meme: false,
mug: false,
uid: 0,
time: { hour: 0, minute: 0, second: 0, day: 8, month: 4, year: 12 },
creat: 0,
slf: false,
drctr: false,
rsedtr: false
}
Variables & Functions
// Returns the TitleSnapmatic.IPictureTitle: String// Returns the DescriptionSnapmatic.IPictureDesc: String// Returns the Snapmatic HeaderSnapmatic.IPictureHeader: String// Returns the Snapmatic DataSnapmatic.ISnapmatic: JSON// Returns the raw JPEG BufferSnapmatic.IJPEGImage: Buffer// Returns a Base64 ImageSnapmatic.getBase64Image: String// Save JPEG to fileSnapmtic.saveToFilepath: String, callback:any