Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I am trying to create a timelapse with raspistill. What I would need is to have a thumbnail image as well.

Reading the documentation I've found that you can use the --thumb flag to specify thumbnail sizes. But I don't know where they are saved

I am using the following command:

raspistill \
    --verbose \
    -t 0 \
    -tl 1000 \
    --thumb 320:240:70 \
    -n \
    -o imgs/image%04d.jpg

Solution

(thanks to Peter)

  1. Install exiv2

    sudo apt-get install exiv2 
    
  2. Use the command below to extract the thumbnail from image0000.jpg to image0000-thumb.jpg

    exiv2 -et ./image0000.jpg
    
share|improve this question

1 Answer 1

up vote 4 down vote accepted

I believe that the thumbnail gets embedded into the JPEG image as EXIF data. Exiftool allows you to view the embedded thumbnail images - http://www.aldeid.com/wiki/Exiftool.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.