bri857
Posts: 3
Joined: Wed Jul 18, 2012 5:23 pm

image is horizontally flipped

Wed May 22, 2013 4:26 pm

New module, no problem connecting, but image is flipped.
Using raspistill -hf -o image.jpg shows a correct image.
Can the image be flipped to stay in correct orientation?

User avatar
leol
Posts: 147
Joined: Fri Jan 13, 2012 4:27 pm
Location: Haute-Vienne, France

Re: image is horizontally flipped

Wed May 22, 2013 4:30 pm

This is a known issue and I believe is fixed in the next release.

User avatar
RaTTuS
Posts: 10504
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: image is horizontally flipped

Wed May 22, 2013 4:38 pm

askully
I think it is vertically flipped so
-vf
will sort it ... ;)
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

bri857
Posts: 3
Joined: Wed Jul 18, 2012 5:23 pm

Re: image is horizontally flipped

Wed May 22, 2013 4:58 pm

leol wrote:This is a known issue and I believe is fixed in the next release.
Thanks for the info

User avatar
jezmck
Posts: 24
Joined: Sat Sep 10, 2011 4:34 pm
Contact: Website

Re: image is horizontally flipped

Wed May 22, 2013 6:14 pm

Mine is horizontally flipped (need `-hf` to fix it).

Sounds like it's different for different people - is that true?

User avatar
jbeale
Posts: 3518
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: image is horizontally flipped

Wed May 22, 2013 7:27 pm

depends how you hold the camera! It is always "mirror image" but may also be upside down, if for example as on my installation, the cable goes up instead of down. So I need to rotate the image 180 as well as flip left-right. There isn't a "rotate by 180" option, but both operations can be done in one go with the vertical flip.

EDIT: JamesH points out below that the rotate 180 does exist; I looked for it and missed it... well it was very late last night.
Last edited by jbeale on Wed May 22, 2013 9:51 pm, edited 1 time in total.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 24175
Joined: Sat Jul 30, 2011 7:41 pm

Re: image is horizontally flipped

Wed May 22, 2013 9:30 pm

jbeale wrote:depends how you hold the camera! It is always "mirror image" but may also be upside down, if for example as on my installation, the cable goes up instead of down. So I need to rotate the image 180 as well as flip left-right. There isn't a "rotate by 180" option, but both operations can be done in one go with the vertical flip.
There is a rotate by 180 option...you can do 90, 180, or 270.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

Return to “Camera board”