Go Back   IceInSpace > Equipment > Astrophotography and Imaging Equipment and Discussions

Reply
 
Thread Tools Rate Thread
  #1  
Old 10-01-2020, 09:27 PM
Astrofriend's Avatar
Astrofriend (Lars)
Registered User

Astrofriend is offline
 
Join Date: Aug 2017
Location: Stockholm, Sweden
Posts: 439
Tutorial: How to rotate raw files and save them

Sometimes you have problems that you can't find solutions to and you push it to the future how to solve it. In my data there are photos I took already in 2013 that I accidentally have the camera's auto rotation turned on. As a result, as the mount moved during the night, the orientation of some of the photos changed.

Since then I have tried to change the rotation so that all of the raw photos will be back to a horizontal orientation again which many of the astro software require. Changing the orientation is easy in most software, but to save them in Canon's .cr2 format again I never found a solution to until now.

Here's how I solved it:
http://www.astrofriend.eu/astronomy/...raw-files.html

I have only done this on Canon's .cr2 files. Let me know if you can use this for other cameras, Nikon, Sony etc. You have at least to change the file extension in the batch file.

/Lars
Reply With Quote
  #2  
Old 11-01-2020, 05:59 AM
skysurfer's Avatar
skysurfer
Dark sky rules !

skysurfer is offline
 
Join Date: Dec 2011
Location: 52N 6E (EU)
Posts: 1,152
The problem is saving in CR2 (or NEF or ARW).
These formats are for camera only and not meant to be saved as a file. When you want to keep original quality, save it in TIFF or PSD (16 bits format).
Reply With Quote
  #3  
Old 11-01-2020, 06:45 AM
bojan's Avatar
bojan
amateur

bojan is offline
 
Join Date: Jul 2006
Location: Mt Waverley, VIC
Posts: 6,932
This is easy with DPP (Canon's software, comes together with camera on CD).
BTW, DPP is very useful for other things, including post processing of AP images (stretching, curves, color balance etc.)
Reply With Quote
  #4  
Old 11-01-2020, 06:42 PM
Astrofriend's Avatar
Astrofriend (Lars)
Registered User

Astrofriend is offline
 
Join Date: Aug 2017
Location: Stockholm, Sweden
Posts: 439
@skysurfer
Yes that was the problem, but that was what I solved, how to save new metadata in .cr2 file.

@Bojan
I had DPP instaled many years ago, but was it only that I could rotate the image but not store the new orientation metadata in the .cr2 file ?

Anyway, that software only handle Canon, with Exiftool all cameras maybe possbile to rotate their raw files in. It's also a multi platform, not only windows.

/Lars

Last edited by Astrofriend; 11-01-2020 at 08:58 PM.
Reply With Quote
  #5  
Old 12-01-2020, 06:04 AM
bojan's Avatar
bojan
amateur

bojan is offline
 
Join Date: Jul 2006
Location: Mt Waverley, VIC
Posts: 6,932
Quote:
Originally Posted by Astrofriend View Post
... but was it only that I could rotate the image but not store the new orientation metadata in the .cr2 file ?
Everything can be saved (and reverted back later)


Quote:
Originally Posted by Astrofriend View Post
Anyway, that software only handle Canon, with Exiftool all cameras maybe possbile to rotate their raw files in. It's also a multi platform, not only windows.
True...
Reply With Quote
  #6  
Old 12-01-2020, 11:05 AM
LewisM's Avatar
LewisM
Novichok test rabbit

LewisM is offline
 
Join Date: Aug 2012
Location: Somewhere in the cosmos...
Posts: 10,388
Not sure why you can't - I downloaded Canon's plugin for Potoshop, and when I try importing a RAW/CR2 file, it automatically pops up the Canon RAW handling plugin - within that, I can rotate the files, do lens corrections, change most in-camera settings etc, save them again in the altered state as a cr2, then close or import into PS.
Reply With Quote
  #7  
Old 13-01-2020, 07:56 PM
Astrofriend's Avatar
Astrofriend (Lars)
Registered User

Astrofriend is offline
 
Join Date: Aug 2017
Location: Stockholm, Sweden
Posts: 439
I'm now looking through my arcive of astrophoto data.

This one of the old images that I never processed because they were rotated, and I was not sure they will be of any interest because of the weak comet.

Here it is:
http://www.astrofriend.eu/astronomy/...-c2017-m4.html

I'm not 100% sure that the arrow point to the comet, when looking in tables I think it should be a bit more to the left.

/Lars
Reply With Quote
Reply

Bookmarks

Tags
cr2, raw, rotate

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 08:32 PM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Advertisement
Testar
Advertisement
Bintel
Advertisement