Author Topic: CR2 file cropped after importing to Photoshop (Fixed!)  (Read 12273 times)

Kharak

  • Hero Member
  • *****
  • Posts: 903
CR2 file cropped after importing to Photoshop (Fixed!)
« on: December 14, 2015, 12:01:56 PM »
Hi,

I've taken some Christmas pictures these last days and I noticed now when I import them in to Photoshop for editing, the images are cropped 16:9 or there about, but in the folder and when looking at the picture in a picture viewer, I see the full 3:2 image.

Adobe Camera Raw says the picture is only18,7 megapixels - 5760x3240

The jpeg's all have the crop when viewing in a picture viewer.

Camera 5D MK III

I am sure this has something to do with Metadata in the CR2 telling it to crop it like that, I also see the entire 3:2 in camera when viewing the pictures, but those two annoying overlay Blue Framing Lines go across the image, which I assume have something to do with this crop..  Always had the blue lines across when viewing in camera, since ML was installed. I don't know how to remove them.

I think I was taking pictures in movie mode because I had a Manual focus lens and needed edge image for accurate focus.

I haven't noticed before if my previous pictures have been cropped like this in photoshop.

I tried scaling up and down and all in Photoshop, but the remaining top and bottom 3.3 Megapixels don't exist to photoshop.

Please help me with this, these pictures are for Christmas cards that are supposed to be printed today!
once you go raw you never go back

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 5935
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #1 on: December 14, 2015, 12:10:24 PM »
It could have something to do with default scale tag. Not sure if that tag is there in the CR2. Check with exiftool and compare with a working CR2 file.
Generally best when people upload the problematic file in question for others to look at.

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 6880
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #2 on: December 14, 2015, 12:17:25 PM »
Open "link" in ACR's bottom line in the middle and look if there are any scaling options set.
Photogs and videographers: Assist in proof reading upcoming in-camera help!. Your input is wanted and needed!

Kharak

  • Hero Member
  • *****
  • Posts: 903
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #3 on: December 14, 2015, 12:19:24 PM »
I will upload in a moment, and PM you.

the image is not scaled, the width is to it fullest. It is only top and bottom, like it was cropped for TV or so.

I suspect it has something to do with the blue overlay lines I get when watching pictures in my camera. ( Am I the only one?)

@ Walter.

The "resize to fit" is not ticked in and it says "Default 18.7 Megapixels" "5760x3240"

once you go raw you never go back

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 6880
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #4 on: December 14, 2015, 12:24:42 PM »
Select box and set pixel height and width according to expected values. HTH.
You may have to handle pics according to orientation.
Photogs and videographers: Assist in proof reading upcoming in-camera help!. Your input is wanted and needed!

Kharak

  • Hero Member
  • *****
  • Posts: 903
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #5 on: December 14, 2015, 12:29:32 PM »
Thank you, I tried that now and it does not change anything. No matter how crazy I change it, 5760x5760 the image stays same size... :/
once you go raw you never go back

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 6880
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #6 on: December 14, 2015, 12:32:10 PM »
1.) What are other RAW converter showing? RAWtherapee? DPP?
2.) Tried running CR2 through Adobe DNGconverter?
Photogs and videographers: Assist in proof reading upcoming in-camera help!. Your input is wanted and needed!

Kharak

  • Hero Member
  • *****
  • Posts: 903
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #7 on: December 14, 2015, 12:34:19 PM »
Rawtherapee shows entire image! Thank you!

But I am not good at Rawtherapee, just have it because...

I would like to get this fixed for PS

Edit. Tried DNG converter, the image has the same result in Photoshop
once you go raw you never go back

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 6880
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #8 on: December 14, 2015, 01:14:41 PM »
You know how to replace binary setting for AspectRatio from 7 (=16:9) to 256 via Exiftool?

Backup data (!) and run from command line/terminal (place Exiftool in dir where CR2 are):
.\Exiftool -b -Aspectratio+=249 dir
.\Exiftool -CroppedImageTop=0 dir
.\Exiftool -CroppedImageHeight=3840 dir

... Success ...
Photogs and videographers: Assist in proof reading upcoming in-camera help!. Your input is wanted and needed!

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 5935
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #9 on: December 14, 2015, 02:07:53 PM »
You need exiftool installed for this to work.

Just created a command file with Walter Schultz exact exiftool changes. Worked perfectly.
Put the command next to your file and double click it. See to it that you only have those files that you want to change in the folder. It will run a wildcard on every CR2 in that specific folder.
Make copies of your originals.

https://drive.google.com/file/d/0B4tCJMlOYfirR1BQLWF5QTBIRlE/view?usp=sharing

If the command file asks for permission write following in terminal

Code: [Select]
chmod u=rwx [drag your command file here]press enter


Kharak

  • Hero Member
  • *****
  • Posts: 903
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #10 on: December 14, 2015, 02:44:17 PM »
I can't get it to work.

just to be clear, I am on Windows machine.

When I double click the Command file, windows prompts me to what program I want to open the file with. I can't choose the CR2 file and I also tried Exiftool, I don't know if that is suppose to do anything, but I tried and it doesn't work either.

But you also said I need to have Exiftool "installed", I don't have an installation of Exiftool, only a zip file which contains 'Exiftool (-k)' maybe thats my problem?

@Walter, no I am very unfamiliar with any thing binary of the sorts and so on, sorry.

I run Cmd and drag and drop the Command file over it and it asks me to open it with Meta Read and write, but it does not work. I get this message"

ExifTool Version Number         : 10.07
File Name                       : Aspect_Ratio.command
Directory                       : C:/Users/Hava/Desktop/agagh
File Size                       : 162 bytes
File Modification Date/Time     : 2015:12:14 14:20:20+01:00
File Access Date/Time           : 2015:12:14 14:20:17+01:00
File Creation Date/Time         : 2015:12:14 14:20:17+01:00
File Permissions                : rw-rw-rw-
Error                           : Unknown file type
-- press RETURN --

I just downloaded the newest version of Exiftool http://www.sno.phy.queensu.ca/~phil/exiftool/

The previous version would open for 1 sec before closing again.

once you go raw you never go back

vertigopix

  • Senior
  • ****
  • Posts: 281
  • EOS M - 60D - 6D
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #11 on: December 14, 2015, 02:45:55 PM »
You must drag you CR2 over exiftool(-k) to see informations about your file.

And you must open a command line prompt to type the commands from Walter.

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 5935
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #12 on: December 14, 2015, 03:00:52 PM »
My fix is for mac unfortunately.

Kharak

  • Hero Member
  • *****
  • Posts: 903
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #13 on: December 14, 2015, 03:18:48 PM »
I am obviously doing something wrong.

But I am not good at this.

cmd reports all my commands as unrecognizable

So I tried these things.

Drag Cr2 over Exiftool and I get all Metadata information, keep it open and I open cmd and type the commands from Walter like this:

C:\Users\Hava\Desktop\agagh.\Exiftool(-k) -b -Aspectratio+=249 dir

Also with all 3 command lines and with and without the ( . ) after the agagh

Unrecognized everytime. I am sure this is my incompetence to understand what has to be done.

@Danne, thank you for the help even though!


once you go raw you never go back

vertigopix

  • Senior
  • ****
  • Posts: 281
  • EOS M - 60D - 6D
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #14 on: December 14, 2015, 03:20:51 PM »
If you open a command prompt and just type "exiftool", do you get something ?

Kharak

  • Hero Member
  • *****
  • Posts: 903
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #15 on: December 14, 2015, 03:23:32 PM »
no, same as the others, unrecognized command /internal etc..
once you go raw you never go back

vertigopix

  • Senior
  • ****
  • Posts: 281
  • EOS M - 60D - 6D
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #16 on: December 14, 2015, 03:30:32 PM »
Ok

So, create a directory in you drive and copy you files and exiftool in it. If you exiftool is "exiftool(-k)", just rename it to exiftool
Go to this directory in command line and type "exiftool" to see if it work.

After this you can try the commands from Walter (without any . , this is for linux)

vertigopix

  • Senior
  • ****
  • Posts: 281
  • EOS M - 60D - 6D
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #17 on: December 14, 2015, 03:34:55 PM »
For windows the commands are :

exiftool -b -Aspectratio+=249 *.cr2
exiftool -CroppedImageTop=0 *.cr2
exiftool -CroppedImageHeight=3840 *.cr2


walter_schulz

  • Contributor
  • Senior
  • *****
  • Posts: 396
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #18 on: December 14, 2015, 03:36:15 PM »
- Rename exiftool(-k).exe to exiftool.exe
- Place exiftool.exe in the same directory where your CR2 files are
- In Explorer press Shift key and open context menu for this folder (Shift + right) mouse key
- Select "Open command prompt here"
In this new window give the commands

Code: [Select]
Exiftool -b -Aspectratio+=249 dir
Exiftool -CroppedImageTop=0 dir
Exiftool -CroppedImageHeight=3840 dir

vertigopix

  • Senior
  • ****
  • Posts: 281
  • EOS M - 60D - 6D
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #19 on: December 14, 2015, 03:37:47 PM »
@Walter : "dir" not working in windows  ;)

Kharak

  • Hero Member
  • *****
  • Posts: 903
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #20 on: December 14, 2015, 03:43:23 PM »
Finally!!!

Thank you! The open command window here did the trick!

My girlfriend has been pacing back and forth behind me now for 2 hours.. 5 more mins and I would be dead!

You guys didn't just make a picture bigger, you saved a life today ;)

I gotta get to work with the clone stamping now!!
once you go raw you never go back

vertigopix

  • Senior
  • ****
  • Posts: 281
  • EOS M - 60D - 6D
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #21 on: December 14, 2015, 03:46:31 PM »
 :) Yeah !

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 6880
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #22 on: December 14, 2015, 06:47:52 PM »
I'm trying to find out which setting is responsible for exif tag
"Aspect Ratio = 16:9" (binary 7)
and
"CroppedImageHeight=3240" (instead of 3840)
and
"CroppedImageTop=300"
on Kharak's 5D3.

 I tried using Canon 650D's menu setting "Aspect Ratio" but exif in RAW always shows 3:2 with binary 0.
Values for CroppedImageHeight and CroppedImageTop are unchanged, too.
I think Kharak is pretty much occupied with his present right now.
So: Anyone here seeing such an issue where RAWs in ACR have been cropped unintentionally?
Kharak used RAW+JPG but I'm unable to reproduce his issue right now with my cam.

@Kharak: Please zip your ML\Settings directory, upload and link it here.



EDIT: Got it - after looking up google ... who would have guessed ...
Shooting photo in video mode will have aspect ratio (Canon setting) written to RAW image's exif. Plus CroppedImageHeight and CroppedImageTop (or else) and ACR will read and use these tags.
Rather old news ...
Have to ask RAWtherapee programmer if his program works this way intentionally.
Photogs and videographers: Assist in proof reading upcoming in-camera help!. Your input is wanted and needed!

Erik Krause

  • Freshman
  • **
  • Posts: 59
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #23 on: December 14, 2015, 09:03:19 PM »
I guess RAWtherapee inherits this behavior from dcraw, which does it intentionally.

Kharak

  • Hero Member
  • *****
  • Posts: 903
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #24 on: December 14, 2015, 11:56:30 PM »
First of all thanks again, we managed to print the images today just before it closed.

My next post was gonna be about fixing this issue.  but I am glad to see you continued it here.

I will write more tomorrow, but FYI. RAWtherapee displayed the pictures correctly, so it ignores the crop meta data.
once you go raw you never go back

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 6880
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #25 on: December 15, 2015, 12:09:24 AM »
@Erik: Makes sense (IMO). An option in CR/PS to ignore aspect ratio setting (and other tags involved) would be just fine. Cream on top: Able to toggle between native and cropped image. Or an overlay.
@Kharak: Happy to hear/read you made it just in time!
Photogs and videographers: Assist in proof reading upcoming in-camera help!. Your input is wanted and needed!

Kharak

  • Hero Member
  • *****
  • Posts: 903
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #26 on: December 15, 2015, 08:43:58 PM »
So this crop is applied with and without ML being installed? when taking pictures in Movie Mode?

I don't remember if I've had the Blue Overlay Lines when viewing pictures on my MK II, I am guessing it is because it does not have a dedicated Movie Mode.
once you go raw you never go back

zoran01

  • Just arrived
  • *
  • Posts: 1
Re: CR2 file cropped after importing to Photoshop (Urgent!)
« Reply #27 on: October 15, 2018, 02:14:21 PM »
Hello,
I am facing the same issue - with having .cr2 images cropped in photoshop while I can see them in preview larger.
I am trying follow the solution stated here but must be doing something wrong.

I am on windows 7 and I:
1. downloaded "Exiftool(-k)" renamed it to "Exiftool" and located it to my desktop.
2. located the .cr2 file at the desktop too.
3. I rather closed other programs in which I had had the .cr2 file open.
4. I run prompt command tool as an administrator, set the direction to my desktop and run the commands stated in the comment from walter_schulz / vertigopix below but it did not work (see the atached image).





Could zou please advise?
Do I understand it correctly that the command should be applied to all images/their metadata in the selected location?


Thank you. zoran
- Rename exiftool(-k).exe to exiftool.exe
- Place exiftool.exe in the same directory where your CR2 files are
- In Explorer press Shift key and open context menu for this folder (Shift + right) mouse key
- Select "Open command prompt here"
In this new window give the commands

Code: [Select]
Exiftool -b -Aspectratio+=249 dir
Exiftool -CroppedImageTop=0 dir
Exiftool -CroppedImageHeight=3840 dir

Kharak

  • Hero Member
  • *****
  • Posts: 903
Re: CR2 file cropped after importing to Photoshop (Fixed!)
« Reply #28 on: October 16, 2018, 03:25:55 AM »
Long time since I dealt with this, after this I just stuck to Liveview if I needed any ML assist when taking pictures. Taking pictures in movie mode is the culprit.

Place pictures and exiftool in same folder and right click on an emtpy space in the folder and click ‘open command prompt here’ and then apply the commands.

It does not work if you start the Command prompt from Start menu (if I recall correctly)
once you go raw you never go back

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 6880
Re: CR2 file cropped after importing to Photoshop (Fixed!)
« Reply #29 on: October 16, 2018, 03:40:15 AM »
The message says that your cr2 files are not in folder "C:\Users\Desktop\Zoran". If you type
Code: [Select]
dir *.cr2 Windows will tell you "files not found" again.
If you placed your files in another folder it won't work.

Open context menu for your cr2 file and select "Properties". I suppose you either created a shortcut instead of copying it to the desktop folder or copyied it to "public" desktop folder instead.

Photogs and videographers: Assist in proof reading upcoming in-camera help!. Your input is wanted and needed!