1. A method of processing electronic signals of at least one optical image that has a dynamic range of magnitudes outside of a predefined range of magnitudes, comprising: acquiring preview image data having a reduced resolution that is less than a resolution of the at least one optical image, wherein the preview image data is acquired to set gain for acquiring image signals of the at least one optical image; adjusting magnitudes of the image signals outside of the predefined range by quantities selected to allow measurement of the adjusted signals within the predefined range, the quantities selected based on preview image data acquired prior to the image signals, representing the image signals by quantities representative of magnitudes of the image signals within the predefined range, and magnitudes of the adjusted signals within the predefined range along with their associated adjustment quantities, calculating data for a tone mapped image of the at least one optical image, by a processor, from the quantities representative of the magnitudes of the image signals within the predefined range and the magnitudes of the adjusted signals within the predefined range and their associated adjustment quantities, and outputting, by the processor, data of the tone mapped image via an output, wherein the data of the tone mapped image is further generated based on data generated by the analog-to-digital converter and data associated with photo exposure time of the image signals.