Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Sideways Cards

I'm putting Decks into Roll20.  I've scanned a bunch of cards and did two of them in a different orientation each round of scanning.  The 2 that were different were up/down oriented.  The other 4 were sideways. I clicked on them and rotated them in Explorer.  They open in Photoshop and Paint correctly. When I try to put them into a card deck, some of them go in sideways.  When I check the properties, they're set correctly via width/height. Anyway to fix this?
1471335990
Ziechael
Forum Champion
Sheet Author
API Scripter
Hi Mikel, sounds like a lot of work has been put in already, if you could supply some screen shots of the issue the community will have you up and running as expected (if possible) in no time at all :)
Here's what it looks like when I open it in the photo viewer or photoshop: And here is what it looks like when I try to use it in Roll20. The problem is that my scanner put the two cards that were 'up top' when I scanned in cards as up and down.  The 4 cards that were across the bottom, it registered as left/right.  So, there are a lot of cards that are going to be the wrong way but, in any other program, they open up the way I wanted after I rotated them. The settings seem to show the correct width vs. height in them. So I want to know if there's a way to have them show up in roll20 with the correct orientation without having to rescan everything.
1471356725
The Aaron
Pro
API Scripter
Probably these are jpegs and the rotation is merely a setting in the EXIF data to specify the rotation.  Some modern software respects the rotation property, some does not.  Usually it's best not to rely on it and to instead transform the data in the image to be rotated.  The rotation function in Windows Explorer's Preview does not transform the data.  I would suggest using something like GIMP to rotate the images as it will rewrite the file so that the image data is ordered for the specified rotation.   Worst case, you can PM me links to the images and I'll fix the rotation and PM you links back, but it should be simple enough to fix in a more powerful graphics program.
1471359303
Finderski
Plus
Sheet Author
Compendium Curator
The Aaron said: Probably these are jpegs and the rotation is merely a setting in the EXIF data to specify the rotation.  Some modern software respects the rotation property, some does not.  Usually it's best not to rely on it and to instead transform the data in the image to be rotated.  The rotation function in Windows Explorer's Preview does not transform the data.  I would suggest using something like GIMP to rotate the images as it will rewrite the file so that the image data is ordered for the specified rotation.   Worst case, you can PM me links to the images and I'll fix the rotation and PM you links back, but it should be simple enough to fix in a more powerful graphics program. And if you know the files that are wrong, GIMP can even batch modify them so you don't have to open each file and save them individually...
1471360397

Edited 1471360563
The Aaron
Pro
API Scripter
Or use Image Magick... =D convert source.jpg -auto-orient dest.jpg See:&nbsp; <a href="http://stackoverflow.com/questions/19456036/detect" rel="nofollow">http://stackoverflow.com/questions/19456036/detect</a>... Or do the whole directory: mogrify -auto-orient *.jgp
Thanks!&nbsp; I didn't know enough about how to use Imagemagick to batch rotate things, but it seemed to open up quickly enough that going through and rotating everything took about 1/2 hour. At the very least, there wasn't as much as in Photoshop, where going to the options would have taken a bit longer. :)
1471382925
The Aaron
Pro
API Scripter
cool. =D Happy rolling!