add game info as jpeg comment to jpg-screenshots
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3855 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -188,6 +188,8 @@ void jpeg_screenshot(char *imagepath)
|
||||
jpeg_set_defaults(&cinfo);
|
||||
jpeg_set_quality(&cinfo, jpegquality, TRUE);
|
||||
jpeg_start_compress(&cinfo, TRUE);
|
||||
const char *comment = asciiscores(true);
|
||||
jpeg_write_marker(&cinfo, JPEG_COM, (JOCTET *) comment, strlen(comment));
|
||||
|
||||
while(cinfo.next_scanline < cinfo.image_height)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user