> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/ko/latex-1/21-latex-error-unknown-graphics-extension-.xxx.md).

# LaTeX 오류: 알 수 없는 그래픽 확장자: .XXX

이 오류는 LaTeX가 인식하지 못하는 그래픽 확장자를 사용했을 때 나타납니다. 또한 LaTeX를 혼란스럽게 만드는 '잘못된' 파일 경로를 사용했을 때도 나타날 수 있습니다.

LaTeX에서 허용되는 이미지 형식은 사용하는 컴파일러의 선택에 따라 달라집니다. 이는 아래와 같이 왼쪽 메뉴에 표시됩니다.

![Choosecompiler.PNG](/files/2fd22b215081ba54e28b52a4020590a6c61afc6d)

**로 컴파일할 때 `pdfLaTeX`:**

로 컴파일할 때 `pdfLaTeX`, 사용할 수 있는 이미지 형식의 선택지가 매우 다양합니다. 아래에 나열되어 있습니다

* JPG - 기본 용도에서 가장 흔한 이미지 형식입니다. 공간을 많이 차지하지 않으며 대부분의 경우 그림을 삽입할 때 유용합니다.
* PNG - 이것도 매우 흔한 형식입니다. 무손실 형식이므로 더 높은 해상도가 필요한 이미지에 더 적합합니다. 도표는 PNG 형식으로 포함해야 합니다.
* EPS - 로 컴파일할 때 EPS 이미지를 사용하려면 `pdfLaTeX`, 다음을 사용해야 합니다 [`epstopdf` 패키지](https://www.google.ie/#q=ctan+etstopdf).
* PDF - LaTeX 프로젝트에 문서를 포함할 때 유용합니다. EPS와 마찬가지로 벡터 이미지를 지원하므로, 포스터와 같이 큰 문서에 고해상도 이미지가 필요할 때 매우 유용합니다.

**LaTeX로 컴파일할 때:**

LaTeX로 컴파일할 때 사용할 수 있는 유일한 이미지 형식은 *캡슐화된 포스트스크립트* 또는 *EPS*. EPS 파일은 벡터 기반이므로 크기를 조정해도 이미지가 변하지 않으며, 포스터와 같이 고품질 이미지가 필요한 큰 문서를 만들 때 유용합니다. EPS 파일은 이미지의 크기를 자연스럽게 선언하므로, LaTeX가 텍스트와 그래픽을 보기 좋게 배치하기가 더 쉽습니다.

## 일반적인 원인

**지원되지 않는 이미지 형식 사용:**

이 오류의 가장 흔한 원인은 다음과 같이 특정 컴파일러에서 지원하지 않는 이미지 형식을 사용하는 경우입니다 **`.gif`** 또는 **`.ps`** 가 사용되는 경우입니다. 이를 피하는 가장 좋은 방법은 가능한 경우 지원되는 형식으로 변환하는 것입니다.

**잘못된 파일 이름 사용:**

LaTeX는 마침표를 보면 그 뒤에 오는 모든 것을 파일 확장자로 해석합니다. 따라서 파일 이름에 마침표가 들어가 있으면, 예를 들어 `image.logo.jpg`, LaTeX는 파일 확장자가 다음과 같다고 생각하기 때문에 혼란스러워합니다 `.logo.jpg`. 따라서 이미지의 제목에는 마침표가 들어가지 않도록 항상 이름을 지정해야 합니다.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/ko/latex-1/21-latex-error-unknown-graphics-extension-.xxx.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
