Menu

Refresh thumbnails after rotating

Anonymous
2022-01-07
2022-05-28
  • Anonymous

    Anonymous - 2022-01-07

    Hello friends!
    For rotating images I use connecting to 'R' hotkey my script which makes lossless rotate with exiftran and then repair date of image file.

    #!/usr/bin/bash
    
    for i in %F; 
    do  
        img_date=`date -r $i +%Y%-m%-d%H%M.%S`;
        temp=/tmp/$(basename $i);
        exiftran -2 -o $temp $i; 
        touch -t $img_date $temp && mv $temp $i;
    done;
    

    But after rotating image preview thumbnail remains unchanged. F5 key not helping too.
    Is it possible to refresh thumbnails images after my script rotating?

     
  • erwin wallpaper

    erwin wallpaper - 2022-05-28

    Interesting.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB