Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

How can I rotate a jpg file without saving it first

  • 1 resposta
  • 1 tem este problema
  • 1 visualização
  • Última resposta por cor-el

more options

I frequently have to view student's work uploaded as jpg files, and often they have uploaded the file sideways or upside down. Is there a way to rotate the file without saving it to my computer first (like we can with a pdf file)

I frequently have to view student's work uploaded as jpg files, and often they have uploaded the file sideways or upside down. Is there a way to rotate the file without saving it to my computer first (like we can with a pdf file)

Todas as respostas (1)

more options

It is possible to rotate the image via CSS with img {-moz-transform: rotate(90deg);} (90deg, -90deg, 180deg) if you open the image in a tab via the right-click context menu (middle-click View Image).

You can do that with bookmarklets like these (doesn't work via the location, but does via the Scratchpad, Shift+F4):


javascript:(function(){var doc=document,css=doc.createElement('LINK');css.rel='stylesheet';css.type='text/css';css.href='data:text/css,img {-moz-transform: rotate(90deg);}';doc.documentElement.childNodes[0].appendChild(css);})();

javascript:(function(){var doc=document,css=doc.createElement('LINK');css.rel='stylesheet';css.type='text/css';css.href='data:text/css,img {-moz-transform: rotate(-90deg);}';doc.documentElement.childNodes[0].appendChild(css);})();

Modificado por cor-el a