winston / attache-lambda

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto Orientation of Image

winston opened this issue · comments

Wa swee thanks for digging up the links!!

The ghetto post too 钻牛角尖了, eg the first example of cos the info 600x450 is utterly useless except in the most contrived use case.

Too bad it’s got pagerank.

As far as most apps are concern, the goal is to auto orient correctly and then remove the orientation exif info, so there’s no confusion on how the devices / browsers will handle it.

how to pass/typecast the images around

after auto-orient, if possible, just write the bytes back into the file. should save us trouble of holding on to the image object in memory unnecessarily long