Disabling saving of JPEG file - General Discussion and Assistance - CHDK Forum supplierdeeply

Disabling saving of JPEG file

  • 2 Replies
  • 1854 Views
Disabling saving of JPEG file
« on: 09 / October / 2013, 07:10:53 »
Advertisements
While waiting for the final SDM 1.86 Beta tester to report back with his G15 results, I decided to try out an idea that required the image not to be saved.

Only functions fwt_open,fwt_write and fwt_close are implemented.

It works fine.

When browsing the empty card in Playback, it gives 'Unidentified Image' message.

Any idea why ?


David


*

Offline c10ud

  • ***
  • 245
Re: Disabling saving of JPEG file
« Reply #1 on: 09 / October / 2013, 08:53:03 »
While waiting for the final SDM 1.86 Beta tester to report back with his G15 results, I decided to try out an idea that required the image not to be saved.

Only functions fwt_open,fwt_write and fwt_close are implemented.

It works fine.

When browsing the empty card in Playback, it gives 'Unidentified Image' message.

Any idea why ?


David
while I'm not familiar with the filewrite hack I believe that the camera knows you actually shot a pic but since it cannot find it, well, unidentified image

anyway, it's harmless

*

Offline srsa_4c

  • ******
  • 4451
Re: Disabling saving of JPEG file
« Reply #2 on: 09 / October / 2013, 10:45:28 »
c10ud's right. There surely are more appropriate parts of the firmware to intercept file saving, but I chose to hook filewritetask because it was easy to understand what it's doing. Downside is that the camera "remembers" the shots. Those "unidentified" images appear to not take up malloc memory, but shooting thousands of images may cause the shutdown of the camera's USB connectivity.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal