View Single Post
Old 03-06-2019, 08:43 PM   #4
sekazi
Enthusiast
sekazi began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Apr 2018
Device: Kindle Oasis 2017
Quote:
Originally Posted by ilovejedd View Post
Are you using JPEG metadata to set the orientation? Perhaps Kobo's software doesn't respect that. No idea what command line you should use in ImageMagick, though. I always use IrfanView for image processing.
Well that turns out to be it. It is 2019 and EXIF rotation has been in use for well over a decade.

I had to add a 3rd command to my batch file so now it is
magick montage [1-2].jp* -tile 2x1 -geometry +0+0 out.jpg
magick mogrify -rotate "270" out.jpg
magick mogrify -auto-orient out.jpg

Tested it out with one of the images and the Kobo sees it fine now. Now I just have to go though all of my Manga and go again. I kind of wish I could do what my Kindle did when it recognized two page spreads but it is not as effective as showing the double page first.

Edit:
Just in case someone else comes across this thread here is a simplified batch file that will merge two pages without having to rename them prior to running the file.

magick mogrify -flop *.jp*
magick montage *.jp* -tile 2x1 -geometry +0+0 out.jpg
magick mogrify -flop *.jp*
magick mogrify -rotate "270" out.jpg
magick mogrify -auto-orient -quality 85% out.jpg

Last edited by sekazi; 03-06-2019 at 10:55 PM.
sekazi is offline   Reply With Quote