---
title: "Discussion on \"사진이 화면에서 회전되어 보이는 이유 — Exif Orientation을 JS로 직접 읽어보기\" | Hashnode"
description: "Discussion on \"사진이 화면에서 회전되어 보이는 이유 — Exif Orientation을 JS로 직접 읽어보기\". input으로 받은 사진이 렌더링 경로에 따라 제각각 다르게 돌아가 보이는 원인을 Exif의 Orientation 태그에서 찾고, JPEG 바이너리를 JS의 ArrayBuffer·DataView로 직접 읽어 이 값을 얻고 다시 회전시켜보는 과정을 정리했다."
url: "https://hashnode.com/posts/exif-orientation/6a72459607f6ebcf1df80037"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [사진이 화면에서 회전되어 보이는 이유 — Exif Orientation을 JS로 직접 읽어보기](https://blog-cattus.hashnode.dev/exif-orientation?utm_source=hashnode&utm_medium=feed)

input으로 받은 사진이 렌더링 경로에 따라 제각각 다르게 돌아가 보이는 원인을 Exif의 Orientation 태그에서 찾고, JPEG 바이너리를 JS의 ArrayBuffer·DataView로 직접 읽어 이 값을 얻고 다시 회전시켜보는 과정을 정리했다.

Aug 4 · 10 min read · blog-cattus.hashnode.dev  
Read the article

-   [#exif](https://hashnode.com/tag/exif)
-   [#jpeg](https://hashnode.com/tag/jpeg)
-   [#image](https://hashnode.com/tag/image)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Donghwan Kim](https://hashnode.com/@cattus-astro)

@cattus-astro · Dublin, Ireland

  
[View profile](https://hashnode.com/@cattus-astro)

Web Frontend Developer

Web Frontend Developer // Crafting Scalable Cross-Platform Web Solutions &amp; Rich User Experiences

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
