Github is unable to properly rotate images: what kind of challenges could they be facing?

User Name

Remember Me?

Password

GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

Github is unable to properly rotate images: what kind of challenges could they be facing?

For years now, Github's code preview features and wiki have been unable to deal with image EXIF data. This means that often images are turned the wrong way.

In addition, their internal "markup" language has no mechanism to rotate an image.

For me personally 100% of my images are turned the wrong way in Github. Yet 100% of my images work correctly on 100% of my computers.

The conspiracy theorist idea I have is that they want all projects to look as unprofessional as possible. After all, if all your images are flipped no one is going to take your work seriously. Maybe you can then "buy in" to actually have working images.

What kind of issues could they be facing in implementing something so simple?

For years now, Github's code preview features and wiki have been unable to deal with image EXIF data. This means that often images are turned the wrong way.

In addition, their internal "markup" language has no mechanism to rotate an image.

For me personally 100% of my images are turned the wrong way in Github. Yet 100% of my images work correctly on 100% of my computers.

The conspiracy theorist idea I have is that they want all projects to look as unprofessional as possible. After all, if all your images are flipped no one is going to take your work seriously. Maybe you can then "buy in" to actually have working images.

What kind of issues could they be facing in implementing something so simple?

Thanks for moving this to the appropriate place. I could not decide where to put it.

I did read over that stackoverflow thread already and it boiled down to manually rotating the image in an editor program. This bothers me because it should work as-is.

I had also read the Github thread already and to me it seemed like the problem was being swept under the rug by Github. I figured more exposure of the problem on this site could not hurt.

I just now skimmed the "EXIF Orientation is a ghetto" link and it looks like the best way for Github to handle it is to provide some kind of toggle option for "Use EXIF Orientation".

NevemTeve - here are some examples of where images could be used on a code website:
You have made a mod for a game and want to post a screenshot
You have made a hardware device that also includes code and want to include an image of the device
You have an elaborate procedure best described in a flow chart-like or wiring-like diagram

I also already sent a support e-mail to Github a while back but I was fuming mad about the problem as I always am after posting a new project. So they probably did not receive it well. The workflow usually is:

1. Work hard on a project a long time
2. Take a carefully crafted image of the final product
3. Post the work including images
4. See the images are flipped the wrong way
5. Fly into a rage/depression

Anyway maybe this will help give the problem the exposure it needs for them to do something about it.

2. Take a carefully crafted image of the final product
3. Post the work including images

Would this be a more honest description of what you actually did?

1. take a photograph
2. upload the photograph (unmodified)

Quote:

NevemTeve - here are some examples of where images could be used on a code website:
You have made a mod for a game and want to post a screenshot
You have made a hardware device that also includes code and want to include an image of the device
You have an elaborate procedure best described in a flow chart-like or wiring-like diagram

Most of these wouldn't be photographs and thus wouldn't depend on exif tags for orientation though.

Most of these wouldn't be photographs and thus wouldn't depend on exif tags for orientation though.

I am not a photographer. Just getting the image steady would qualify for me as "carefully crafted". If someone wants to pay me to do to work to update the images I am all for it.

Frankly it's a bit of a chicken and egg problem. I am not going to do a bunch of work to images so that 10 or 15 people can get satisfaction from it. And I am only ever going to have 10 or 15 people look at it because the images are flipped.

I don't buy that expanding their already extensive codebase for this is going to be a significant security problem.

I know about using imagemagick for bulk image editing. But I am sticking to my guns on this. Apparently what I have created is not that great. If one day I can build something world changing and the images are still upside down then Github's lazy people will be FORCED to fix the problem.

More great news: as of today, Github's "insights" feature only works on Microsoft-sanctioned browser platforms. Attempts to defeat it with browser user agent spoofing have failed. I would start another thread but instead we can pile all our disdain on Github in this one instead.