| 1 |
# SOME DESCRIPTIVE TITLE. |
| 2 |
# Copyright (C) 2015-2025, Artifex |
| 3 |
# This file is distributed under the same license as the PyMuPDF package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PyMuPDF 1.26.7\n" |
| 10 |
"Report-Msgid-Bugs-To: \n" |
| 11 |
"POT-Creation-Date: 2025-11-25 23:33+0000\n" |
| 12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 14 |
"Language: ko\n" |
| 15 |
"Language-Team: ko <[email protected]>\n" |
| 16 |
"Plural-Forms: nplurals=1; plural=0;\n" |
| 17 |
"MIME-Version: 1.0\n" |
| 18 |
"Content-Type: text/plain; charset=utf-8\n" |
| 19 |
"Content-Transfer-Encoding: 8bit\n" |
| 20 |
"Generated-By: Babel 2.10.3\n" |
| 21 |
|
| 22 |
#: ../../header.rst:-1 a5170acfd12b43adbefd8dfbe853d226 |
| 23 |
msgid "Artifex" |
| 24 |
msgstr "Artifex" |
| 25 |
|
| 26 |
#: ../../header.rst:-1 cb2bde859c1349828bd247664168fdad |
| 27 |
msgid "" |
| 28 |
"PyMuPDF is a high-performance Python library for data extraction, " |
| 29 |
"analysis, conversion & manipulation of PDF (and other) documents." |
| 30 |
msgstr "|PyMuPDF| 는 |PDF| 및 기타 문서의 데이터 추출, 분석, 변환, 조작을 위한 고성능 Python 라이브러리입니다." |
| 31 |
|
| 32 |
#: ../../header.rst:-1 becd9c25862646c28f77d71822cc2c8b |
| 33 |
msgid "" |
| 34 |
"PDF Text Extraction, PDF Image Extraction, PDF Conversion, PDF Tables, " |
| 35 |
"PDF Splitting, PDF Creation, Pyodide, PyScript" |
| 36 |
msgstr "|PDF| 텍스트 추출, |PDF| 이미지 추출, |PDF| 변환, |PDF| 테이블, |PDF| 분할, |PDF| 생성, Pyodide, PyScript" |
| 37 |
|
| 38 |
#: ../../recipes-images.rst:7 4710064fae7342178423b005970103b5 |
| 39 |
msgid "Images" |
| 40 |
msgstr "Images" |
| 41 |
|
| 42 |
#: ../../recipes-images.rst:14 4e4cf4f2971d49878a83873ab5b972f7 |
| 43 |
msgid "How to Make Images from Document Pages" |
| 44 |
msgstr "문서 페이지에서 이미지 만들기" |
| 45 |
|
| 46 |
#: ../../recipes-images.rst:16 e9a6e38305b94ba1b80f9f8c8e22ffd0 |
| 47 |
msgid "" |
| 48 |
"This little script will take a document filename and generate a PNG file " |
| 49 |
"from each of its pages." |
| 50 |
msgstr "이 작은 스크립트는 문서 파일 이름을 받아 각 페이지에서 PNG 파일을 생성합니다." |
| 51 |
|
| 52 |
#: ../../recipes-images.rst:18 308acb4260244cb889d8b5e5e696bc88 |
| 53 |
msgid "The document can be any :ref:`supported type<Supported_File_Types>`." |
| 54 |
msgstr "문서는 :ref:`지원되는 모든 타입<Supported_File_Types>` 일 수 있습니다." |
| 55 |
|
| 56 |
#: ../../recipes-images.rst:20 a3082189c02c48da807760245885aa8a |
| 57 |
msgid "" |
| 58 |
"The script works as a command line tool which expects the filename being " |
| 59 |
"supplied as a parameter. The generated image files (1 per page) are " |
| 60 |
"stored in the directory of the script::" |
| 61 |
msgstr "스크립트는 매개변수로 제공된 파일 이름을 기대하는 명령줄 도구로 작동합니다. 생성된 이미지 파일(페이지당 1개)은 스크립트 디렉토리에 저장됩니다::" |
| 62 |
|
| 63 |
#: ../../recipes-images.rst:29 b7e5e6dd24f045f4a09c4f91b7d4fea8 |
| 64 |
msgid "" |
| 65 |
"The script directory will now contain PNG image files named *page-0.png*," |
| 66 |
" *page-1.png*, etc. Pictures have the dimension of their pages with width" |
| 67 |
" and height rounded to integers, e.g. 595 x 842 pixels for an A4 portrait" |
| 68 |
" sized page. They will have a resolution of 96 dpi in x and y dimension " |
| 69 |
"and have no transparency. You can change all that -- for how to do this, " |
| 70 |
"read the next sections." |
| 71 |
msgstr "스크립트 디렉토리에는 이제 *page-0.png*, *page-1.png* 등의 PNG 이미지 파일이 포함됩니다. 그림은 페이지의 크기를 가지며 너비와 높이는 정수로 반올림됩니다. 예를 들어 A4 세로 크기 페이지의 경우 595 x 842 픽셀입니다. x 및 y 차원에서 96 dpi의 해상도를 가지며 투명도가 없습니다. 모든 것을 변경할 수 있습니다 -- 방법은 다음 섹션을 참조하세요." |
| 72 |
|
| 73 |
#: ../../recipes-images.rst:37 a572d7ea36d948ea96eded0ff8001773 |
| 74 |
msgid "How to Increase :index:`Image Resolution <pair: image; resolution>`" |
| 75 |
msgstr ":index:`이미지 해상도 <pair: image; resolution>` 높이는 방법" |
| 76 |
|
| 77 |
#: ../../recipes-images.rst:39 11a284ffaf7742f6a03127e4d1240761 |
| 78 |
msgid "" |
| 79 |
"The image of a document page is represented by a :ref:`Pixmap`, and the " |
| 80 |
"simplest way to create a pixmap is via method :meth:`Page.get_pixmap`." |
| 81 |
msgstr "문서 페이지의 이미지는 :ref:`Pixmap` 으로 표현되며, 픽스맵을 생성하는 가장 간단한 방법은 :meth:`Page.get_pixmap` 메서드를 사용하는 것입니다." |
| 82 |
|
| 83 |
#: ../../recipes-images.rst:41 feae2612c8c0499e90d765be25a00eac |
| 84 |
msgid "" |
| 85 |
"This method has many options to influence the result. The most important " |
| 86 |
"among them is the :ref:`Matrix`, which lets you :index:`zoom`, rotate, " |
| 87 |
"distort or mirror the outcome." |
| 88 |
msgstr "이 메서드는 결과에 영향을 주는 많은 옵션이 있습니다. 그 중 가장 중요한 것은 :index:`확대`, 회전, 왜곡 또는 미러링을 가능하게 하는 :ref:`Matrix` 입니다." |
| 89 |
|
| 90 |
#: ../../recipes-images.rst:43 b12ee8c226f44cbaaa494b318449f822 |
| 91 |
msgid "" |
| 92 |
":meth:`Page.get_pixmap` by default will use the :ref:`Identity` matrix, " |
| 93 |
"which does nothing." |
| 94 |
msgstr ":meth:`Page.get_pixmap` 은 기본적으로 아무것도 하지 않는 :ref:`Identity` 행렬을 사용합니다." |
| 95 |
|
| 96 |
#: ../../recipes-images.rst:45 1b9e0cde360b4b86b79e4a5560753ac9 |
| 97 |
msgid "" |
| 98 |
"In the following, we apply a :index:`zoom factor <pair: resolution;zoom>`" |
| 99 |
" of 2 to each dimension, which will generate an image with a four times " |
| 100 |
"better resolution for us (and also about 4 times the size)::" |
| 101 |
msgstr "다음에서는 각 차원에 :index:`확대 배율 <pair: resolution;zoom>` 2를 적용하여 4배 더 나은 해상도의 이미지를 생성합니다(크기도 약 4배)::" |
| 102 |
|
| 103 |
#: ../../recipes-images.rst:53 4b841620223b468290813f2c76bf2f57 |
| 104 |
msgid "" |
| 105 |
"Since version 1.19.2 there is a more direct way to set the resolution: " |
| 106 |
"Parameter `\"dpi\"` (dots per inch) can be used in place of `\"matrix\"`." |
| 107 |
" To create a 300 dpi image of a page specify `pix = " |
| 108 |
"page.get_pixmap(dpi=300)`. Apart from notation brevity, this approach has" |
| 109 |
" the additional advantage that the **dpi value is saved with the image** " |
| 110 |
"file -- which does not happen automatically when using the Matrix " |
| 111 |
"notation." |
| 112 |
msgstr "" |
| 113 |
"버전 1.19.2부터 해상도를 설정하는 더 직접적인 방법이 있습니다: `\"dpi\"` (인치당 도트 수) 매개변수를 " |
| 114 |
"`\"matrix\"` 대신 사용할 수 있습니다. 페이지의 300 dpi 이미지를 만들려면 `pix = " |
| 115 |
"page.get_pixmap(dpi=300)` 을 지정하세요. 표기법의 간결함 외에도, 이 방법의 추가 장점은 **dpi 값이 이미지 " |
| 116 |
"파일과 함께 저장된다는** 것입니다 -- Matrix 표기법을 사용할 때는 자동으로 발생하지 않습니다." |
| 117 |
|
| 118 |
#: ../../recipes-images.rst:61 31bbb7951f74400fb93921872432755d |
| 119 |
msgid "How to Create :index:`Partial Pixmaps` (Clips)" |
| 120 |
msgstr ":index:`부분 픽스맵 <Partial Pixmaps>` (클립) 생성 방법" |
| 121 |
|
| 122 |
#: ../../recipes-images.rst:62 fbadb2ef5dbd470f8a7e831854d224d8 |
| 123 |
msgid "" |
| 124 |
"You do not always need or want the full image of a page. This is the case" |
| 125 |
" e.g. when you display the image in a GUI and would like to fill the " |
| 126 |
"respective window with a zoomed part of the page." |
| 127 |
msgstr "" |
| 128 |
"항상 페이지의 전체 이미지가 필요하거나 원하는 것은 아닙니다. 예를 들어 GUI에서 이미지를 표시하고 해당 창을 페이지의 확대된 부분으로 " |
| 129 |
"채우고 싶을 때가 그런 경우입니다." |
| 130 |
|
| 131 |
#: ../../recipes-images.rst:64 85f7bd7eb0b042c0813c26e94f741bf2 |
| 132 |
msgid "" |
| 133 |
"Let's assume your GUI window has room to display a full document page, " |
| 134 |
"but you now want to fill this room with the bottom right quarter of your " |
| 135 |
"page, thus using a four times better resolution." |
| 136 |
msgstr "" |
| 137 |
"GUI 창에 전체 문서 페이지를 표시할 공간이 있다고 가정하지만, 이제 이 공간을 페이지의 오른쪽 아래 사분면으로 채워 4배 더 나은 " |
| 138 |
"해상도를 사용하고 싶다고 가정합니다." |
| 139 |
|
| 140 |
#: ../../recipes-images.rst:66 29dbb31ae3f94b88b955a6b089ae6df5 |
| 141 |
msgid "" |
| 142 |
"To achieve this, define a rectangle equal to the area you want to appear " |
| 143 |
"in the GUI and call it \"clip\". One way of constructing rectangles in " |
| 144 |
"PyMuPDF is by providing two diagonally opposite corners, which is what we" |
| 145 |
" are doing here." |
| 146 |
msgstr "" |
| 147 |
"이를 달성하려면 GUI에 표시하려는 영역과 같은 사각형을 정의하고 \"clip\"이라고 부르세요. PyMuPDF에서 사각형을 구성하는 " |
| 148 |
"방법 중 하나는 대각선으로 반대편에 있는 두 모서리를 제공하는 것이며, 여기서도 그렇게 합니다." |
| 149 |
|
| 150 |
#: ../../recipes-images.rst:79 27b90a5d3a3c45eca6798eb33e10e442 |
| 151 |
msgid "" |
| 152 |
"In the above we construct *clip* by specifying two diagonally opposite " |
| 153 |
"points: the middle point *mp* of the page rectangle, and its bottom " |
| 154 |
"right, *rect.br*." |
| 155 |
msgstr "" |
| 156 |
"위에서는 두 개의 대각선 반대편 점을 지정하여 *clip* 을 구성합니다: 페이지 사각형의 중간점 *mp* 와 그 오른쪽 아래 " |
| 157 |
"*rect.br* 입니다." |
| 158 |
|
| 159 |
#: ../../recipes-images.rst:87 bb7f676a34c54b28a8067fefa1aacd1b |
| 160 |
msgid "How to Zoom a Clip to a GUI Window" |
| 161 |
msgstr "클립을 GUI 창에 맞게 확대하는 방법" |
| 162 |
|
| 163 |
#: ../../recipes-images.rst:88 3c061aaed37648d081263d96cee3321a |
| 164 |
msgid "" |
| 165 |
"Please also read the previous section. This time we want to **compute the" |
| 166 |
" zoom factor** for a clip, such that its image best fits a given GUI " |
| 167 |
"window. This means, that the image's width or height (or both) will equal" |
| 168 |
" the window dimension. For the following code snippet you need to provide" |
| 169 |
" the WIDTH and HEIGHT of your GUI's window that should receive the page's" |
| 170 |
" clip rectangle." |
| 171 |
msgstr "" |
| 172 |
"이전 섹션도 읽어보세요. 이번에는 클립의 **확대 배율을 계산** 하여 이미지가 주어진 GUI 창에 가장 잘 맞도록 합니다. 즉, " |
| 173 |
"이미지의 너비 또는 높이(또는 둘 다)가 창 크기와 같아집니다. 다음 코드 스니펫을 위해서는 페이지의 클립 사각형을 받을 GUI " |
| 174 |
"창의 WIDTH와 HEIGHT를 제공해야 합니다." |
| 175 |
|
| 176 |
#: ../../recipes-images.rst:105 b3a9b91ee3804e7b8c64ed8a2205e309 |
| 177 |
msgid "" |
| 178 |
"For the other way round, now assume you **have** the zoom factor and need" |
| 179 |
" to **compute the fitting clip**." |
| 180 |
msgstr "반대로, 이제 **확대 배율이 있고** **맞는 클립을 계산** 해야 한다고 가정합니다." |
| 181 |
|
| 182 |
#: ../../recipes-images.rst:107 8ecba4f1cc2d4ce6b5472a6b7d1f6778 |
| 183 |
msgid "" |
| 184 |
"In this case we have `zoom = HEIGHT/clip.height = WIDTH/clip.width`, so " |
| 185 |
"we must set `clip.height = HEIGHT/zoom` and, `clip.width = WIDTH/zoom`. " |
| 186 |
"Choose the top-left point `tl` of the clip on the page to compute the " |
| 187 |
"right pixmap::" |
| 188 |
msgstr "" |
| 189 |
"이 경우 `zoom = HEIGHT/clip.height = WIDTH/clip.width` 이므로, `clip.height = " |
| 190 |
"HEIGHT/zoom` 과 `clip.width = WIDTH/zoom` 을 설정해야 합니다. 올바른 픽스맵을 계산하려면 페이지에서 " |
| 191 |
"클립의 왼쪽 위 지점 `tl` 을 선택하세요::" |
| 192 |
|
| 193 |
#: ../../recipes-images.rst:124 a9179194547c43379baf5fb667307041 |
| 194 |
msgid "How to Create or Suppress Annotation Images" |
| 195 |
msgstr "주석 이미지 생성 또는 억제 방법" |
| 196 |
|
| 197 |
#: ../../recipes-images.rst:125 9cc92f685bcf4d2bafef5da546fbac00 |
| 198 |
msgid "" |
| 199 |
"Normally, the pixmap of a page also shows the page's annotations. " |
| 200 |
"Occasionally, this may not be desirable." |
| 201 |
msgstr "일반적으로 페이지의 픽스맵은 페이지의 주석도 표시합니다. 때로는 이것이 바람직하지 않을 수 있습니다." |
| 202 |
|
| 203 |
#: ../../recipes-images.rst:127 1079c45bc5474873945edff781094f65 |
| 204 |
msgid "" |
| 205 |
"To suppress the annotation images on a rendered page, just specify " |
| 206 |
"`annots=False` in :meth:`Page.get_pixmap`." |
| 207 |
msgstr "렌더링된 페이지에서 주석 이미지를 억제하려면 :meth:`Page.get_pixmap` 에서 `annots=False` 를 지정하세요." |
| 208 |
|
| 209 |
#: ../../recipes-images.rst:129 b141c29860864fde93d41fedac0919b0 |
| 210 |
msgid "" |
| 211 |
"You can also render annotations separately: they have their own " |
| 212 |
":meth:`Annot.get_pixmap` method. The resulting pixmap has the same " |
| 213 |
"dimensions as the annotation rectangle." |
| 214 |
msgstr "" |
| 215 |
"주석을 별도로 렌더링할 수도 있습니다: 주석에는 자체 :meth:`Annot.get_pixmap` 메서드가 있습니다. 결과 픽스맵은 주석 " |
| 216 |
"사각형과 동일한 크기를 가집니다." |
| 217 |
|
| 218 |
#: ../../recipes-images.rst:141 5f7013ae1124470a83fa5df727f719d1 |
| 219 |
msgid "How to Extract Images: Non-PDF Documents" |
| 220 |
msgstr "이미지 추출 방법: 비 PDF 문서" |
| 221 |
|
| 222 |
#: ../../recipes-images.rst:143 3b4b1649fadc41cea019b924cd517adc |
| 223 |
msgid "" |
| 224 |
"In contrast to the previous sections, this section deals with " |
| 225 |
"**extracting** images **contained** in documents, so they can be " |
| 226 |
"displayed as part of one or more pages." |
| 227 |
msgstr "" |
| 228 |
"이전 섹션과 달리, 이 섹션은 문서에 **포함된** 이미지를 **추출** 하는 것을 다루므로, 하나 이상의 페이지의 일부로 표시할 수 " |
| 229 |
"있습니다." |
| 230 |
|
| 231 |
#: ../../recipes-images.rst:145 cd906454fde6400783d50eb0297c5b39 |
| 232 |
msgid "" |
| 233 |
"If you want to recreate the original image in file form or as a memory " |
| 234 |
"area, you have basically two options:" |
| 235 |
msgstr "원본 이미지를 파일 형식 또는 메모리 영역으로 재생성하려면 기본적으로 두 가지 옵션이 있습니다:" |
| 236 |
|
| 237 |
#: ../../recipes-images.rst:147 dda6ef39b73f40f8b4b566ccb3d6011e |
| 238 |
msgid "" |
| 239 |
"Convert your document to a PDF, and then use one of the PDF-only " |
| 240 |
"extraction methods. This snippet will convert a document to PDF::" |
| 241 |
msgstr "문서를 PDF로 변환한 다음 PDF 전용 추출 방법 중 하나를 사용하세요. 이 스니펫은 문서를 PDF로 변환합니다::" |
| 242 |
|
| 243 |
#: ../../recipes-images.rst:153 d9d2f8dd08d6424f8418f2300c013bcd |
| 244 |
msgid "" |
| 245 |
"Use :meth:`Page.get_text` with the \"dict\" parameter. This works for all" |
| 246 |
" document types. It will extract all text and images shown on the page, " |
| 247 |
"formatted as a Python dictionary. Every image will occur in an image " |
| 248 |
"block, containing meta information and **the binary image data**. For " |
| 249 |
"details of the dictionary's structure, see :ref:`TextPage`. The method " |
| 250 |
"works equally well for PDF files. This creates a list of all images shown" |
| 251 |
" on a page::" |
| 252 |
msgstr "" |
| 253 |
"\"dict\" 매개변수와 함께 :meth:`Page.get_text` 를 사용하세요. 이것은 모든 문서 유형에 작동합니다. 페이지에 표시된 " |
| 254 |
"모든 텍스트와 이미지를 Python 딕셔너리 형식으로 추출합니다. 각 이미지는 메타 정보와 **바이너리 이미지 데이터** 를 포함하는 이미지 " |
| 255 |
"블록에 나타납니다. 딕셔너리 구조의 세부 사항은 :ref:`TextPage` 를 참조하세요. 이 방법은 PDF 파일에도 동일하게 " |
| 256 |
"작동합니다. 이것은 페이지에 표시된 모든 이미지의 목록을 생성합니다::" |
| 257 |
|
| 258 |
#: ../../recipes-images.rst:182 44ce44e54f6a4d52b8fa3e4377314037 |
| 259 |
msgid "How to Extract Images: PDF Documents" |
| 260 |
msgstr "이미지 추출 방법: PDF 문서" |
| 261 |
|
| 262 |
#: ../../recipes-images.rst:184 121c432a4e1b4f0da9d62f1686089fe3 |
| 263 |
msgid "" |
| 264 |
"Like any other \"object\" in a PDF, images are identified by a cross " |
| 265 |
"reference number (:data:`xref`, an integer). If you know this number, you" |
| 266 |
" have two ways to access the image's data:" |
| 267 |
msgstr "" |
| 268 |
"PDF의 다른 \"객체\"와 마찬가지로, 이미지는 교차 참조 번호(:data:`xref`, 정수)로 식별됩니다. 이 번호를 알고 있으면 " |
| 269 |
"이미지 데이터에 액세스하는 두 가지 방법이 있습니다:" |
| 270 |
|
| 271 |
#: ../../recipes-images.rst:186 65a8bdab9a754e05bb94c1a31c2dc6c3 |
| 272 |
msgid "" |
| 273 |
"**Create** a :ref:`Pixmap` of the image with instruction *pix = " |
| 274 |
"pymupdf.Pixmap(doc, xref)*. This method is **very** fast (single digit " |
| 275 |
"micro-seconds). The pixmap's properties (width, height, ...) will reflect" |
| 276 |
" the ones of the image. In this case there is no way to tell which image " |
| 277 |
"format the embedded original has." |
| 278 |
msgstr "" |
| 279 |
"*pix = pymupdf.Pixmap(doc, xref)* 지시로 이미지의 :ref:`Pixmap` 을 **생성** 합니다. 이 방법은 " |
| 280 |
"**매우** 빠릅니다(한 자리 마이크로초). 픽스맵의 속성(너비, 높이 등)은 이미지의 속성을 반영합니다. 이 경우 임베드된 원본의 " |
| 281 |
"이미지 형식을 알 수 있는 방법이 없습니다." |
| 282 |
|
| 283 |
#: ../../recipes-images.rst:188 1270aa02e2f747a8a27ef8e3820b2c51 |
| 284 |
msgid "" |
| 285 |
"**Extract** the image with *img = doc.extract_image(xref)*. This is a " |
| 286 |
"dictionary containing the binary image data as *img[\"image\"]*. A number" |
| 287 |
" of meta data are also provided -- mostly the same as you would find in " |
| 288 |
"the pixmap of the image. The major difference is string *img[\"ext\"]*, " |
| 289 |
"which specifies the image format: apart from \"png\", strings like " |
| 290 |
"\"jpeg\", \"bmp\", \"tiff\", etc. can also occur. Use this string as the " |
| 291 |
"file extension if you want to store to disk. The execution speed of this " |
| 292 |
"method should be compared to the combined speed of the statements *pix = " |
| 293 |
"pymupdf.Pixmap(doc, xref);pix.tobytes()*. If the embedded image is in PNG" |
| 294 |
" format, the speed of :meth:`Document.extract_image` is about the same " |
| 295 |
"(and the binary image data are identical). Otherwise, this method is " |
| 296 |
"**thousands of times faster**, and the **image data is much smaller**." |
| 297 |
msgstr "" |
| 298 |
"*img = doc.extract_image(xref)* 로 이미지를 **추출** 합니다. 이것은 *img[\"image\"]* 로 바이너리 " |
| 299 |
"이미지 데이터를 포함하는 딕셔너리입니다. 많은 메타데이터도 제공됩니다 -- 대부분 이미지의 픽스맵에서 찾을 수 있는 것과 동일합니다. " |
| 300 |
"주요 차이점은 이미지 형식을 지정하는 문자열 *img[\"ext\"]* 입니다: \"png\" 외에도 \"jpeg\", " |
| 301 |
"\"bmp\", \"tiff\" 등의 문자열이 나타날 수 있습니다. 디스크에 저장하려면 이 문자열을 파일 확장자로 사용하세요. 이 " |
| 302 |
"방법의 실행 속도는 *pix = pymupdf.Pixmap(doc, xref);pix.tobytes()* 문의 결합 속도와 비교해야 합니다. " |
| 303 |
"임베드된 이미지가 PNG 형식인 경우, :meth:`Document.extract_image` 의 속도는 거의 동일합니다(바이너리 이미지 " |
| 304 |
"데이터도 동일). 그렇지 않으면 이 방법이 **수천 배 더 빠르고**, **이미지 데이터가 훨씬 작습니다**." |
| 305 |
|
| 306 |
#: ../../recipes-images.rst:190 c7235a839397415b88cc200813afa335 |
| 307 |
msgid "" |
| 308 |
"The question remains: **\"How do I know those 'xref' numbers of " |
| 309 |
"images?\"**. There are two answers to this:" |
| 310 |
msgstr "질문은 남아 있습니다: **\"이미지의 'xref' 번호를 어떻게 알 수 있나요?\"**. 이에 대한 두 가지 답변이 있습니다:" |
| 311 |
|
| 312 |
#: ../../recipes-images.rst:192 24b9f0cac5e8493794473b40e99d6fff |
| 313 |
msgid "" |
| 314 |
"**\"Inspect the page objects:\"** Loop through the items of " |
| 315 |
":meth:`Page.get_images`. It is a list of list, and its items look like " |
| 316 |
"*[xref, smask, ...]*, containing the :data:`xref` of an image. This " |
| 317 |
":data:`xref` can then be used with one of the above methods. Use this " |
| 318 |
"method for **valid (undamaged)** documents. Be wary however, that the " |
| 319 |
"same image may be referenced multiple times (by different pages), so you " |
| 320 |
"might want to provide a mechanism avoiding multiple extracts." |
| 321 |
msgstr "" |
| 322 |
"**\"페이지 객체 검사:\"** :meth:`Page.get_images` 의 항목을 반복합니다. 이것은 리스트의 리스트이며, 항목은 " |
| 323 |
"*[xref, smask, ...]* 와 같이 보이며 이미지의 :data:`xref` 를 포함합니다. 그런 다음 이 :data:`xref` " |
| 324 |
"를 위의 방법 중 하나와 함께 사용할 수 있습니다. **유효한(손상되지 않은)** 문서에 이 방법을 사용하세요. 그러나 동일한 이미지가 " |
| 325 |
"여러 번 참조될 수 있으므로(다른 페이지에서) 여러 번 추출을 피하는 메커니즘을 제공하는 것이 좋습니다." |
| 326 |
|
| 327 |
#: ../../recipes-images.rst:193 90acb0b07ce44df5809cc83032fab4d6 |
| 328 |
msgid "" |
| 329 |
"**\"No need to know:\"** Loop through the list of **all xrefs** of the " |
| 330 |
"document and perform a :meth:`Document.extract_image` for each one. If " |
| 331 |
"the returned dictionary is empty, then continue -- this :data:`xref` is " |
| 332 |
"no image. Use this method if the PDF is **damaged (unusable pages)**. " |
| 333 |
"Note that a PDF often contains \"pseudo-images\" (\"stencil masks\") with" |
| 334 |
" the special purpose of defining the transparency of some other image. " |
| 335 |
"You may want to provide logic to exclude those from extraction. Also have" |
| 336 |
" a look at the next section." |
| 337 |
msgstr "" |
| 338 |
"**\"알 필요 없음:\"** 문서의 **모든 xref** 목록을 반복하고 각각에 대해 :meth:`Document.extract_image` " |
| 339 |
"를 수행합니다. 반환된 딕셔너리가 비어 있으면 계속합니다 -- 이 :data:`xref` 는 이미지가 아닙니다. PDF가 **손상된(사용 " |
| 340 |
"불가능한 페이지)** 경우 이 방법을 사용하세요. PDF에는 종종 다른 이미지의 투명도를 정의하는 특수 목적의 \"의사 이미지\"(\"스텐실 " |
| 341 |
"마스크\")가 포함되어 있습니다. 추출에서 이를 제외하는 로직을 제공하는 것이 좋습니다. 다음 섹션도 살펴보세요." |
| 342 |
|
| 343 |
#: ../../recipes-images.rst:195 12c15b841d0c40e5bf38fd3252a5c82f |
| 344 |
msgid "" |
| 345 |
"For both extraction approaches, there exist ready-to-use general purpose " |
| 346 |
"scripts:" |
| 347 |
msgstr "두 추출 방법 모두에 대해 즉시 사용 가능한 범용 스크립트가 있습니다:" |
| 348 |
|
| 349 |
#: ../../recipes-images.rst:197 ae5e3ffd1ec342fdbedcedbd9585539f |
| 350 |
msgid "" |
| 351 |
"`extract-from-pages.py <https://github.com/pymupdf/PyMuPDF-" |
| 352 |
"Utilities/blob/master/examples/extract-images/extract-from-pages.py>`_ " |
| 353 |
"extracts images page by page:" |
| 354 |
msgstr "" |
| 355 |
"`extract-from-pages.py <https://github.com/pymupdf/PyMuPDF-Utilities/blob/master/examples/extract-" |
| 356 |
"images/extract-from-pages.py>`_ 는 페이지별로 이미지를 추출합니다:" |
| 357 |
|
| 358 |
#: ../../recipes-images.rst:202 116fc9d92a524d5fbef97898d73400ef |
| 359 |
msgid "" |
| 360 |
"and `extract-from-xref.py <https://github.com/pymupdf/PyMuPDF-" |
| 361 |
"Utilities/blob/master/examples/extract-images/extract-from-xref.py>`_ " |
| 362 |
"extracts images by xref table:" |
| 363 |
msgstr "" |
| 364 |
"그리고 `extract-from-xref.py <https://github.com/pymupdf/PyMuPDF-Utilities/blob/master/examples/extract-" |
| 365 |
"images/extract-from-xref.py>`_ 는 xref 테이블로 이미지를 추출합니다:" |
| 366 |
|
| 367 |
#: ../../recipes-images.rst:213 27941620eff34254b2f1df365e86c504 |
| 368 |
msgid "How to Handle Image Masks" |
| 369 |
msgstr "이미지 마스크 처리 방법" |
| 370 |
|
| 371 |
#: ../../recipes-images.rst:214 06e8942247e04ca18cbb0a2e166e63e0 |
| 372 |
msgid "" |
| 373 |
"Some images in PDFs are accompanied by **image masks**. In their simplest" |
| 374 |
" form, masks represent alpha (transparency) bytes stored as separate " |
| 375 |
"images. In order to reconstruct the original of an image, which has a " |
| 376 |
"mask, it must be \"enriched\" with transparency bytes taken from its " |
| 377 |
"mask." |
| 378 |
msgstr "" |
| 379 |
"PDF의 일부 이미지에는 **이미지 마스크** 가 함께 제공됩니다. 가장 간단한 형태에서 마스크는 별도의 이미지로 저장된 알파(투명도) " |
| 380 |
"바이트를 나타냅니다. 마스크가 있는 이미지의 원본을 재구성하려면 마스크에서 가져온 투명도 바이트로 \"보강\"해야 합니다." |
| 381 |
|
| 382 |
#: ../../recipes-images.rst:216 6956e284f58a455894dad036a8d732f4 |
| 383 |
msgid "" |
| 384 |
"Whether an image does have such a mask can be recognized in one of two " |
| 385 |
"ways in PyMuPDF:" |
| 386 |
msgstr "이미지에 그러한 마스크가 있는지는 PyMuPDF에서 두 가지 방법 중 하나로 인식할 수 있습니다:" |
| 387 |
|
| 388 |
#: ../../recipes-images.rst:218 8f7b0eb999094613b1ec4e9642a0c45a |
| 389 |
msgid "" |
| 390 |
"An item of :meth:`Document.get_page_images` has the general format " |
| 391 |
"`(xref, smask, ...)`, where :data:`xref` is the image's :data:`xref` and " |
| 392 |
"*smask*, if positive, then it is the :data:`xref` of a mask." |
| 393 |
msgstr "" |
| 394 |
":meth:`Document.get_page_images` 의 항목은 일반 형식 `(xref, smask, ...)` 을 가지며, 여기서 " |
| 395 |
":data:`xref` 는 이미지의 :data:`xref` 이고 *smask* 가 양수이면 마스크의 :data:`xref` 입니다." |
| 396 |
|
| 397 |
#: ../../recipes-images.rst:219 76639fa3068e459eb26f660440a3b239 |
| 398 |
msgid "" |
| 399 |
"The (dictionary) results of :meth:`Document.extract_image` have a key " |
| 400 |
"*\"smask\"*, which also contains any mask's :data:`xref` if positive." |
| 401 |
msgstr "" |
| 402 |
":meth:`Document.extract_image` 의 (딕셔너리) 결과에는 *\"smask\"* 키가 있으며, 양수이면 마스크의 " |
| 403 |
":data:`xref` 도 포함합니다." |
| 404 |
|
| 405 |
#: ../../recipes-images.rst:221 46e1113696e24d6ba6ff91a314912958 |
| 406 |
msgid "" |
| 407 |
"If *smask == 0* then the image encountered via :data:`xref` can be " |
| 408 |
"processed as it is." |
| 409 |
msgstr "*smask == 0* 이면 :data:`xref` 를 통해 발견된 이미지는 그대로 처리할 수 있습니다." |
| 410 |
|
| 411 |
#: ../../recipes-images.rst:223 65ebef4703d447a9b3116690abc567cd |
| 412 |
msgid "" |
| 413 |
"To recover the original image using PyMuPDF, the procedure depicted as " |
| 414 |
"follows must be executed:" |
| 415 |
msgstr "PyMuPDF를 사용하여 원본 이미지를 복구하려면 다음에 설명된 절차를 실행해야 합니다:" |
| 416 |
|
| 417 |
#: ../../recipes-images.rst:232 6a6811e1d3974ca493ec08e4a67eca0f |
| 418 |
msgid "" |
| 419 |
"Step (1) creates a pixmap of the basic image. Step (2) does the same with" |
| 420 |
" the image mask. Step (3) adds an alpha channel and fills it with " |
| 421 |
"transparency information." |
| 422 |
msgstr "" |
| 423 |
"단계 (1)은 기본 이미지의 픽스맵을 생성합니다. 단계 (2)는 이미지 마스크에 대해 동일한 작업을 수행합니다. 단계 (3)는 알파 " |
| 424 |
"채널을 추가하고 투명도 정보로 채웁니다." |
| 425 |
|
| 426 |
#: ../../recipes-images.rst:234 0f019370007b48829a5c384c1d511b38 |
| 427 |
msgid "" |
| 428 |
"The scripts `extract-from-pages.py <https://github.com/pymupdf/PyMuPDF-" |
| 429 |
"Utilities/blob/master/examples/extract-images/extract-from-pages.py>`_, " |
| 430 |
"and `extract-from-xref.py <https://github.com/pymupdf/PyMuPDF-" |
| 431 |
"Utilities/blob/master/examples/extract-images/extract-from-xref.py>`_ " |
| 432 |
"above also contain this logic." |
| 433 |
msgstr "" |
| 434 |
"위의 `extract-from-pages.py <https://github.com/pymupdf/PyMuPDF-Utilities/blob/master/examples/extract-" |
| 435 |
"images/extract-from-pages.py>`_ 및 `extract-from-xref.py " |
| 436 |
"<https://github.com/pymupdf/PyMuPDF-Utilities/blob/master/examples/extract-images/extract-from-" |
| 437 |
"xref.py>`_ 스크립트에도 이 로직이 포함되어 있습니다." |
| 438 |
|
| 439 |
#: ../../recipes-images.rst:250 e6cc7c95f595417399c8af124895022f |
| 440 |
msgid "How to Make one PDF of all your Pictures (or Files)" |
| 441 |
msgstr "모든 사진(또는 파일)을 하나의 PDF로 만드는 방법" |
| 442 |
|
| 443 |
#: ../../recipes-images.rst:251 0e5cc72aa12e4c159cee3caf5b124a72 |
| 444 |
msgid "" |
| 445 |
"We show here **three scripts** that take a list of (image and other) " |
| 446 |
"files and put them all in one PDF." |
| 447 |
msgstr "여기서는 (이미지 및 기타) 파일 목록을 받아 모두 하나의 PDF에 넣는 **세 가지 스크립트** 를 보여줍니다." |
| 448 |
|
| 449 |
#: ../../recipes-images.rst:253 23141b711e854c0fb09b4da836e870c4 |
| 450 |
msgid "**Method 1: Inserting Images as Pages**" |
| 451 |
msgstr "**방법 1: 이미지를 페이지로 삽입**" |
| 452 |
|
| 453 |
#: ../../recipes-images.rst:255 6b5ea11f2ac6474da5bc139a540e80fc |
| 454 |
msgid "" |
| 455 |
"The first one converts each image to a PDF page with the same dimensions." |
| 456 |
" The result will be a PDF with one page per image. It will only work for " |
| 457 |
":ref:`supported image<Supported_File_Types>` file formats::" |
| 458 |
msgstr "" |
| 459 |
"첫 번째는 각 이미지를 동일한 크기의 PDF 페이지로 변환합니다. 결과는 이미지당 한 페이지의 PDF가 됩니다. " |
| 460 |
":ref:`지원되는 이미지<Supported_File_Types>` 파일 형식에서만 작동합니다::" |
| 461 |
|
| 462 |
#: ../../recipes-images.rst:278 5d5f4b70e6ad473b98f0b67b8dd864ee |
| 463 |
msgid "" |
| 464 |
"This will generate a PDF only marginally larger than the combined " |
| 465 |
"pictures' size. Some numbers on performance:" |
| 466 |
msgstr "이것은 결합된 그림 크기보다 약간만 큰 PDF를 생성합니다. 성능에 대한 일부 수치:" |
| 467 |
|
| 468 |
#: ../../recipes-images.rst:280 c29ed63a41334d08bd31d57a51745ab1 |
| 469 |
msgid "" |
| 470 |
"The above script needed about 1 minute on my machine for 149 pictures " |
| 471 |
"with a total size of 514 MB (and about the same resulting PDF size)." |
| 472 |
msgstr "위 스크립트는 총 크기가 514 MB인 149개의 그림에 대해 내 컴퓨터에서 약 1분이 걸렸습니다(결과 PDF 크기도 거의 동일)." |
| 473 |
|
| 474 |
#: ../../recipes-images.rst:285 90edd65fe7324ee6a8c2c256f5dad5b3 |
| 475 |
msgid "" |
| 476 |
"Look `here <https://github.com/pymupdf/PyMuPDF-" |
| 477 |
"Utilities/blob/master/examples/insert-images/insert.py>`_ for a more " |
| 478 |
"complete source code: it offers a directory selection dialog and skips " |
| 479 |
"unsupported files and non-file entries." |
| 480 |
msgstr "" |
| 481 |
"더 완전한 소스 코드는 `여기 <https://github.com/pymupdf/PyMuPDF-Utilities/blob/master/examples/insert-" |
| 482 |
"images/insert.py>`_ 를 참조하세요: 디렉토리 선택 대화 상자를 제공하고 지원되지 않는 파일과 비파일 항목을 건너뜁니다." |
| 483 |
|
| 484 |
#: ../../recipes-images.rst:287 66dd4d051e7b4d12816c624eee514c5e |
| 485 |
msgid "" |
| 486 |
"We might have used :meth:`Page.insert_image` instead of " |
| 487 |
":meth:`Page.show_pdf_page`, and the result would have been a similar " |
| 488 |
"looking file. However, depending on the image type, it may store **images" |
| 489 |
" uncompressed**. Therefore, the save option *deflate = True* must be used" |
| 490 |
" to achieve a reasonable file size, which hugely increases the runtime " |
| 491 |
"for large numbers of images. So this alternative **cannot be " |
| 492 |
"recommended** here." |
| 493 |
msgstr "" |
| 494 |
":meth:`Page.show_pdf_page` 대신 :meth:`Page.insert_image` 를 사용했을 수도 있으며, 결과는 비슷해 보이는 " |
| 495 |
"파일이었을 것입니다. 그러나 이미지 유형에 따라 **이미지를 압축하지 않고** 저장할 수 있습니다. 따라서 합리적인 파일 크기를 " |
| 496 |
"달성하려면 저장 옵션 *deflate = True* 를 사용해야 하며, 이는 많은 수의 이미지에 대해 실행 시간을 크게 증가시킵니다. " |
| 497 |
"따라서 이 대안은 여기서 **권장할 수 없습니다**." |
| 498 |
|
| 499 |
#: ../../recipes-images.rst:289 31ee78dae4e846c59e2bd4c8213760da |
| 500 |
msgid "**Method 2: Embedding Files**" |
| 501 |
msgstr "**방법 2: 파일 임베드**" |
| 502 |
|
| 503 |
#: ../../recipes-images.rst:291 d485e0eb28084b90a6b28a8ee7cef448 |
| 504 |
msgid "" |
| 505 |
"The second script **embeds** arbitrary files -- not only images. The " |
| 506 |
"resulting PDF will have just one (empty) page, required for technical " |
| 507 |
"reasons. To later access the embedded files again, you would need a " |
| 508 |
"suitable PDF viewer that can display and / or extract embedded files::" |
| 509 |
msgstr "" |
| 510 |
"두 번째 스크립트는 이미지뿐만 아니라 임의의 파일을 **임베드** 합니다. 결과 PDF는 기술적 이유로 하나의(빈) 페이지만 있습니다. " |
| 511 |
"나중에 임베드된 파일에 다시 액세스하려면 임베드된 파일을 표시하고/또는 추출할 수 있는 적절한 PDF 뷰어가 필요합니다::" |
| 512 |
|
| 513 |
#: ../../recipes-images.rst:316 c94ada8bd9e04598aaf5ab16502b491d |
| 514 |
msgid "" |
| 515 |
"This is by far the fastest method, and it also produces the smallest " |
| 516 |
"possible output file size. The above pictures needed 20 seconds on my " |
| 517 |
"machine and yielded a PDF size of 510 MB. Look `here " |
| 518 |
"<https://github.com/pymupdf/PyMuPDF-Utilities/tree/master/examples/embed-" |
| 519 |
"images/embed.py>`_ for a more complete source code: it offers a directory" |
| 520 |
" selection dialog and skips non-file entries." |
| 521 |
msgstr "" |
| 522 |
"이것은 지금까지 가장 빠른 방법이며 가능한 가장 작은 출력 파일 크기도 생성합니다. 위의 그림은 내 컴퓨터에서 20초가 걸렸고 " |
| 523 |
"510 MB 크기의 PDF를 생성했습니다. 더 완전한 소스 코드는 `여기 " |
| 524 |
"<https://github.com/pymupdf/PyMuPDF-Utilities/tree/master/examples/embed-images/embed.py>`_ " |
| 525 |
"를 참조하세요: 디렉토리 선택 대화 상자를 제공하고 비파일 항목을 건너뜁니다." |
| 526 |
|
| 527 |
#: ../../recipes-images.rst:318 9d6d6606772743a0b3d7948c5256f795 |
| 528 |
msgid "**Method 3: Attaching Files**" |
| 529 |
msgstr "**방법 3: 파일 첨부**" |
| 530 |
|
| 531 |
#: ../../recipes-images.rst:320 bcaa4036cb074aa2975925493b912887 |
| 532 |
msgid "" |
| 533 |
"A third way to achieve this task is **attaching files** via page " |
| 534 |
"annotations see `here <https://github.com/pymupdf/PyMuPDF-" |
| 535 |
"Utilities/blob/master/examples/attach-images/attach.py>`_ for the " |
| 536 |
"complete source code." |
| 537 |
msgstr "" |
| 538 |
"이 작업을 달성하는 세 번째 방법은 페이지 주석을 통해 파일을 **첨부** 하는 것입니다. 전체 소스 코드는 `여기 " |
| 539 |
"<https://github.com/pymupdf/PyMuPDF-Utilities/blob/master/examples/attach-images/attach.py>`_ " |
| 540 |
"를 참조하세요." |
| 541 |
|
| 542 |
#: ../../recipes-images.rst:322 436939e68a27496f95bf3ba627243f13 |
| 543 |
msgid "" |
| 544 |
"This has a similar performance as the previous script and it also " |
| 545 |
"produces a similar file size. It will produce PDF pages which show a " |
| 546 |
"'FileAttachment' icon for each attached file." |
| 547 |
msgstr "" |
| 548 |
"이것은 이전 스크립트와 유사한 성능을 가지며 유사한 파일 크기도 생성합니다. 각 첨부 파일에 대해 'FileAttachment' 아이콘을 " |
| 549 |
"표시하는 PDF 페이지를 생성합니다." |
| 550 |
|
| 551 |
#: ../../recipes-images.rst:326 9ea52a5b17d243b5867452d1793d07b7 |
| 552 |
msgid "" |
| 553 |
"Both, the **embed** and the **attach** methods can be used for " |
| 554 |
"**arbitrary files** -- not just images." |
| 555 |
msgstr "**임베드** 와 **첨부** 방법 모두 이미지뿐만 아니라 **임의의 파일** 에 사용할 수 있습니다." |
| 556 |
|
| 557 |
#: ../../recipes-images.rst:328 034f2966cc014086a05a35dc70520940 |
| 558 |
msgid "" |
| 559 |
"We strongly recommend using the awesome package `PySimpleGUI " |
| 560 |
"<https://pypi.org/project/PySimpleGUI/>`_ to display a progress meter for" |
| 561 |
" tasks that may run for an extended time span. It's pure Python, uses " |
| 562 |
"Tkinter (no additional GUI package) and requires just one more line of " |
| 563 |
"code!" |
| 564 |
msgstr "" |
| 565 |
"장시간 실행될 수 있는 작업에 대해 진행 표시기를 표시하려면 `PySimpleGUI " |
| 566 |
"<https://pypi.org/project/PySimpleGUI/>`_ 패키지 사용을 강력히 권장합니다. 순수 Python이며 " |
| 567 |
"Tkinter를 사용합니다(추가 GUI 패키지 없음) 그리고 코드 한 줄만 더 필요합니다!" |
| 568 |
|
| 569 |
#: ../../recipes-images.rst:342 f8cabd46ec6d45f09659866a69d91b45 |
| 570 |
msgid "How to Create Vector Images" |
| 571 |
msgstr "벡터 이미지 생성 방법" |
| 572 |
|
| 573 |
#: ../../recipes-images.rst:343 f469c239c3464680bb9794d9b17a101b |
| 574 |
msgid "" |
| 575 |
"The usual way to create an image from a document page is " |
| 576 |
":meth:`Page.get_pixmap`. A pixmap represents a raster image, so you must " |
| 577 |
"decide on its quality (i.e. resolution) at creation time. It cannot be " |
| 578 |
"changed later." |
| 579 |
msgstr "" |
| 580 |
"문서 페이지에서 이미지를 만드는 일반적인 방법은 :meth:`Page.get_pixmap` 입니다. 픽스맵은 래스터 이미지를 나타내므로 " |
| 581 |
"생성 시 품질(즉, 해상도)을 결정해야 합니다. 나중에 변경할 수 없습니다." |
| 582 |
|
| 583 |
#: ../../recipes-images.rst:345 39ff1890e34045f0bdaebaf77376c7a6 |
| 584 |
msgid "" |
| 585 |
"PyMuPDF also offers a way to create a **vector image** of a page in SVG " |
| 586 |
"format (scalable vector graphics, defined in XML syntax). SVG images " |
| 587 |
"remain precise across zooming levels (of course with the exception of any" |
| 588 |
" raster graphic elements embedded therein)." |
| 589 |
msgstr "" |
| 590 |
"PyMuPDF는 또한 SVG 형식(확장 가능한 벡터 그래픽, XML 구문으로 정의됨)으로 페이지의 **벡터 이미지** 를 만드는 방법을 " |
| 591 |
"제공합니다. SVG 이미지는 확대/축소 수준에서 정확성을 유지합니다(물론 그 안에 임베드된 래스터 그래픽 요소는 제외)." |
| 592 |
|
| 593 |
#: ../../recipes-images.rst:347 9f178ef03b574e8297104f71a80c68ea |
| 594 |
msgid "" |
| 595 |
"Instruction *svg = page.get_svg_image(matrix=pymupdf.Identity)* delivers " |
| 596 |
"a UTF-8 string *svg* which can be stored with extension \".svg\"." |
| 597 |
msgstr "" |
| 598 |
"지시 *svg = page.get_svg_image(matrix=pymupdf.Identity)* 는 확장자 \".svg\" 로 저장할 수 있는 " |
| 599 |
"UTF-8 문자열 *svg* 를 제공합니다." |
| 600 |
|
| 601 |
#: ../../recipes-images.rst:363 b15d36501a88442697fbeeba5b5bb55f |
| 602 |
msgid "How to Convert Images" |
| 603 |
msgstr "이미지 변환 방법" |
| 604 |
|
| 605 |
#: ../../recipes-images.rst:364 9c9044f3d0894de0812ab73694a00aca |
| 606 |
msgid "" |
| 607 |
"Just as a feature among others, PyMuPDF's image conversion is easy. It " |
| 608 |
"may avoid using other graphics packages like PIL/Pillow in many cases." |
| 609 |
msgstr "" |
| 610 |
"다른 기능과 마찬가지로 PyMuPDF의 이미지 변환은 쉽습니다. 많은 경우 PIL/Pillow와 같은 다른 그래픽 패키지를 사용하지 " |
| 611 |
"않아도 될 수 있습니다." |
| 612 |
|
| 613 |
#: ../../recipes-images.rst:366 f0648a404f50475e9fbc97705bcf53d2 |
| 614 |
msgid "Notwithstanding that interfacing with Pillow is almost trivial." |
| 615 |
msgstr "그럼에도 불구하고 Pillow와의 인터페이싱은 거의 사소합니다." |
| 616 |
|
| 617 |
#: ../../recipes-images.rst:369 51147cdb2eb848a59946a784bc3f94a1 |
| 618 |
msgid "**Input Formats**" |
| 619 |
msgstr "**입력 형식**" |
| 620 |
|
| 621 |
#: ../../recipes-images.rst:369 6e77d3be370148e2a5bce129911da566 |
| 622 |
msgid "**Output Formats**" |
| 623 |
msgstr "**출력 형식**" |
| 624 |
|
| 625 |
#: ../../recipes-images.rst:369 cf281244182e4d06a258fbbb823081c2 |
| 626 |
msgid "**Description**" |
| 627 |
msgstr "**설명**" |
| 628 |
|
| 629 |
#: ../../recipes-images.rst:371 530dd206bde5448eb1361b263e3af56b |
| 630 |
msgid "BMP" |
| 631 |
msgstr "BMP" |
| 632 |
|
| 633 |
#: ../../recipes-images.rst:371 ../../recipes-images.rst:373 |
| 634 |
#: ../../recipes-images.rst:374 ../../recipes-images.rst:375 |
| 635 |
#: ../../recipes-images.rst:376 ../../recipes-images.rst:383 |
| 636 |
#: ../../recipes-images.rst:384 0a22e6da6c0e4628bcba466b598c7755 |
| 637 |
#: 132ea5283e9446b6bef2088214506462 309ee5eed19245778c6c15a0523ba0ec |
| 638 |
#: 5ee5770cfadd46c0bc090de19200296e 7002bf7646f84d808f1d5f5e672b0559 |
| 639 |
#: a37b99d8b7f547ee9f63392896f7e2d7 c69685da95a6452a83e40f26243b207b |
| 640 |
msgid "." |
| 641 |
msgstr "" |
| 642 |
|
| 643 |
#: ../../recipes-images.rst:371 e8fc53116fb14428812ab304c72fcdaf |
| 644 |
msgid "Windows Bitmap" |
| 645 |
msgstr "Windows Bitmap" |
| 646 |
|
| 647 |
#: ../../recipes-images.rst:372 03735a46d7ff47c291751487299a3f1e |
| 648 |
#: 17c492d6f34d4470b1aa86f58b11ca2e |
| 649 |
msgid "JPEG" |
| 650 |
msgstr "JPEG" |
| 651 |
|
| 652 |
#: ../../recipes-images.rst:372 7d1770830b8a487f8c91ea91bd6474eb |
| 653 |
msgid "Joint Photographic Experts Group" |
| 654 |
msgstr "Joint Photographic Experts Group" |
| 655 |
|
| 656 |
#: ../../recipes-images.rst:373 23fe9f08f0c74644b077b0cf444d3358 |
| 657 |
msgid "JXR" |
| 658 |
msgstr "JXR" |
| 659 |
|
| 660 |
#: ../../recipes-images.rst:373 f548e4952b8b416689c5ce6bc9f95f33 |
| 661 |
msgid "JPEG Extended Range" |
| 662 |
msgstr "JPEG Extended Range" |
| 663 |
|
| 664 |
#: ../../recipes-images.rst:374 684a27b7d2874c2b87911e269b40f2d0 |
| 665 |
msgid "JPX/JP2" |
| 666 |
msgstr "JPX/JP2" |
| 667 |
|
| 668 |
#: ../../recipes-images.rst:374 14493ac2be944a018bff6dbd8ae2bac5 |
| 669 |
msgid "JPEG 2000" |
| 670 |
msgstr "JPEG 2000" |
| 671 |
|
| 672 |
#: ../../recipes-images.rst:375 7e15ddbcb0ae4375b206202c12d586c7 |
| 673 |
msgid "GIF" |
| 674 |
msgstr "GIF" |
| 675 |
|
| 676 |
#: ../../recipes-images.rst:375 9978971d8ce4454d86b805ab8d47cfa9 |
| 677 |
msgid "Graphics Interchange Format" |
| 678 |
msgstr "Graphics Interchange Format" |
| 679 |
|
| 680 |
#: ../../recipes-images.rst:376 13363ae60931495a837cbc8baf5970fc |
| 681 |
msgid "TIFF" |
| 682 |
msgstr "TIFF" |
| 683 |
|
| 684 |
#: ../../recipes-images.rst:376 10d71cf9bb9e453cb0dcdea2659abd95 |
| 685 |
msgid "Tagged Image File Format" |
| 686 |
msgstr "Tagged Image File Format" |
| 687 |
|
| 688 |
#: ../../recipes-images.rst:377 05f4cb19c0a34596814f731af32ea876 |
| 689 |
#: 7931ab4e2d304558895b4c7ce5c29979 |
| 690 |
msgid "PNG" |
| 691 |
msgstr "PNG" |
| 692 |
|
| 693 |
#: ../../recipes-images.rst:377 62b451811d4e476c8ae5dd6d849a54a4 |
| 694 |
msgid "Portable Network Graphics" |
| 695 |
msgstr "Portable Network Graphics" |
| 696 |
|
| 697 |
#: ../../recipes-images.rst:378 c1d7da490b554e84a7204e6c99fe37ef |
| 698 |
#: f730284031c54916ac361e6304056bcb |
| 699 |
msgid "PNM" |
| 700 |
msgstr "PNM" |
| 701 |
|
| 702 |
#: ../../recipes-images.rst:378 561bb44f8a6f4ec6a424777a37eef460 |
| 703 |
msgid "Portable Anymap" |
| 704 |
msgstr "Portable Anymap" |
| 705 |
|
| 706 |
#: ../../recipes-images.rst:379 3eb2b8341ba14a0ca14b367fb547e28d |
| 707 |
#: 57b7760ff7804df8b3a3d1bad69d6b15 |
| 708 |
msgid "PGM" |
| 709 |
msgstr "PGM" |
| 710 |
|
| 711 |
#: ../../recipes-images.rst:379 21eeb4db595f461792110aec2d8ecea9 |
| 712 |
msgid "Portable Graymap" |
| 713 |
msgstr "Portable Graymap" |
| 714 |
|
| 715 |
#: ../../recipes-images.rst:380 13aa92582d5d4474abf412bdfe3d0c28 |
| 716 |
#: 4c893f1c9fcb4388a360d103c115f4ee |
| 717 |
msgid "PBM" |
| 718 |
msgstr "PBM" |
| 719 |
|
| 720 |
#: ../../recipes-images.rst:380 30f2520397de4b9eb325877a3a507bbf |
| 721 |
msgid "Portable Bitmap" |
| 722 |
msgstr "Portable Bitmap" |
| 723 |
|
| 724 |
#: ../../recipes-images.rst:381 14f81272a872402b9c2a813dcdf1adbd |
| 725 |
#: 958c5a3c6c9f445f8782e01f89dc6eb2 |
| 726 |
msgid "PPM" |
| 727 |
msgstr "PPM" |
| 728 |
|
| 729 |
#: ../../recipes-images.rst:381 b047b29cb5924074b6edcc64ac2f21d4 |
| 730 |
msgid "Portable Pixmap" |
| 731 |
msgstr "Portable Pixmap" |
| 732 |
|
| 733 |
#: ../../recipes-images.rst:382 8b7545df28fe4e84a4f6e5b4eaa96994 |
| 734 |
#: b4a70161776d47b9ae8a64cdf4733492 |
| 735 |
msgid "PAM" |
| 736 |
msgstr "PAM" |
| 737 |
|
| 738 |
#: ../../recipes-images.rst:382 99b6482f875c4216be23cd14e3b55579 |
| 739 |
msgid "Portable Arbitrary Map" |
| 740 |
msgstr "Portable Arbitrary Map" |
| 741 |
|
| 742 |
#: ../../recipes-images.rst:383 a5f2249d2d1d484f87fad69069bc2941 |
| 743 |
msgid "PSD" |
| 744 |
msgstr "PSD" |
| 745 |
|
| 746 |
#: ../../recipes-images.rst:383 5aa71e0042e440b8a2ae7d1232ae1da7 |
| 747 |
msgid "Adobe Photoshop Document" |
| 748 |
msgstr "Adobe Photoshop Document" |
| 749 |
|
| 750 |
#: ../../recipes-images.rst:384 9f13c58a08324e2a9a956e0c7481fdb6 |
| 751 |
msgid "PS" |
| 752 |
msgstr "PS" |
| 753 |
|
| 754 |
#: ../../recipes-images.rst:384 f7d3f16fd29d4f2e873705fa491cdaab |
| 755 |
msgid "Adobe Postscript" |
| 756 |
msgstr "Adobe Postscript" |
| 757 |
|
| 758 |
#: ../../recipes-images.rst:387 47aac2499f2743ea83430c735ea35f6d |
| 759 |
msgid "The general scheme is just the following two lines::" |
| 760 |
msgstr "일반적인 방식은 다음 두 줄입니다::" |
| 761 |
|
| 762 |
#: ../../recipes-images.rst:392 b7f3421a215d4d909a51a70302130d37 |
| 763 |
msgid "**Remarks**" |
| 764 |
msgstr "**비고**" |
| 765 |
|
| 766 |
#: ../../recipes-images.rst:394 7a47fbda67ec43d7914f6405319663fa |
| 767 |
msgid "" |
| 768 |
"The **input** argument of *pymupdf.Pixmap(arg)* can be a file or a bytes " |
| 769 |
"/ io.BytesIO object containing an image." |
| 770 |
msgstr "*pymupdf.Pixmap(arg)* 의 **입력** 인수는 이미지를 포함하는 파일 또는 bytes / io.BytesIO 객체일 수 있습니다." |
| 771 |
|
| 772 |
#: ../../recipes-images.rst:395 58b740eb05e34db9a556c68fe43e7b90 |
| 773 |
msgid "" |
| 774 |
"Instead of an output **file**, you can also create a bytes object via " |
| 775 |
"*pix.tobytes(\"yyy\")* and pass this around." |
| 776 |
msgstr "출력 **파일** 대신 *pix.tobytes(\"yyy\")* 를 통해 bytes 객체를 생성하고 이를 전달할 수도 있습니다." |
| 777 |
|
| 778 |
#: ../../recipes-images.rst:396 c3b285b2e78146219bd78577d12d121a |
| 779 |
msgid "" |
| 780 |
"As a matter of course, input and output formats must be compatible in " |
| 781 |
"terms of colorspace and transparency. The ``Pixmap`` class has batteries " |
| 782 |
"included if adjustments are needed." |
| 783 |
msgstr "" |
| 784 |
"당연히 입력 및 출력 형식은 색 공간 및 투명도 측면에서 호환되어야 합니다. ``Pixmap`` 클래스는 조정이 필요한 경우 내장 기능을 " |
| 785 |
"포함하고 있습니다." |
| 786 |
|
| 787 |
#: ../../recipes-images.rst:399 e67f10d9438447479868be73be60c969 |
| 788 |
msgid "**Convert JPEG to Photoshop**::" |
| 789 |
msgstr "**JPEG를 Photoshop으로 변환**::" |
| 790 |
|
| 791 |
#: ../../recipes-images.rst:405 69af5be5c5e042739b6b881440591067 |
| 792 |
msgid "" |
| 793 |
"Convert **JPEG to Tkinter PhotoImage**. Any **RGB / no-alpha** image " |
| 794 |
"works exactly the same. Conversion to one of the **Portable Anymap** " |
| 795 |
"formats (PPM, PGM, etc.) does the trick, because they are supported by " |
| 796 |
"all Tkinter versions::" |
| 797 |
msgstr "" |
| 798 |
"**JPEG를 Tkinter PhotoImage로 변환** 합니다. 모든 **RGB / 알파 없음** 이미지도 정확히 동일하게 작동합니다. " |
| 799 |
"**Portable Anymap** 형식(PPM, PGM 등) 중 하나로 변환하면 효과가 있습니다. 모든 Tkinter 버전에서 지원되기 " |
| 800 |
"때문입니다::" |
| 801 |
|
| 802 |
#: ../../recipes-images.rst:412 95cfd29f810e445da70d90c145d8615a |
| 803 |
msgid "" |
| 804 |
"Convert **PNG with alpha** to Tkinter PhotoImage. This requires " |
| 805 |
"**removing the alpha bytes**, before we can do the PPM conversion::" |
| 806 |
msgstr "" |
| 807 |
"**알파가 있는 PNG** 를 Tkinter PhotoImage로 변환합니다. PPM 변환을 수행하기 전에 **알파 바이트를 제거** 해야 " |
| 808 |
"합니다::" |
| 809 |
|
| 810 |
#: ../../recipes-images.rst:429 1911e5e8b8924c1a8b4f22e5163ab54f |
| 811 |
msgid "How to Use Pixmaps: Gluing Images" |
| 812 |
msgstr "픽스맵 사용 방법: 이미지 붙이기" |
| 813 |
|
| 814 |
#: ../../recipes-images.rst:431 7bec2fa27c4e409498516974d3af1a08 |
| 815 |
msgid "" |
| 816 |
"This shows how pixmaps can be used for purely graphical, non-document " |
| 817 |
"purposes. The script reads an image file and creates a new image which " |
| 818 |
"consist of 3 * 4 tiles of the original::" |
| 819 |
msgstr "" |
| 820 |
"이것은 픽스맵이 순수하게 그래픽적이고 문서가 아닌 목적으로 사용될 수 있는 방법을 보여줍니다. 스크립트는 이미지 파일을 읽고 원본의 " |
| 821 |
"3 * 4 타일로 구성된 새 이미지를 생성합니다::" |
| 822 |
|
| 823 |
#: ../../recipes-images.rst:451 5e629a692db5492494234aeaa2c9e000 |
| 824 |
msgid "This is the input picture:" |
| 825 |
msgstr "이것이 입력 그림입니다:" |
| 826 |
|
| 827 |
#: ../../recipes-images.rst:456 0eb66869c4e049f18880e64efa606cb7 |
| 828 |
msgid "Here is the output:" |
| 829 |
msgstr "출력은 다음과 같습니다:" |
| 830 |
|
| 831 |
#: ../../recipes-images.rst:473 193131d4ef064104aca816c9fb1b8eda |
| 832 |
msgid "How to Use Pixmaps: Making a Fractal" |
| 833 |
msgstr "픽스맵 사용 방법: 프랙탈 만들기" |
| 834 |
|
| 835 |
#: ../../recipes-images.rst:475 94c73f5e5e844ef29a6937bacf69e134 |
| 836 |
msgid "" |
| 837 |
"Here is another Pixmap example that creates **Sierpinski's Carpet** -- a " |
| 838 |
"fractal generalizing the **Cantor Set** to two dimensions. Given a square" |
| 839 |
" carpet, mark its 9 sub-suqares (3 times 3) and cut out the one in the " |
| 840 |
"center. Treat each of the remaining eight sub-squares in the same way, " |
| 841 |
"and continue *ad infinitum*. The end result is a set with area zero and " |
| 842 |
"fractal dimension 1.8928..." |
| 843 |
msgstr "" |
| 844 |
"다음은 **시에르핀스키 카펫** 을 생성하는 또 다른 픽스맵 예제입니다 -- **칸토어 집합** 을 2차원으로 일반화한 프랙탈입니다. 정사각형 " |
| 845 |
"카펫이 주어지면 9개의 하위 사각형(3 x 3)을 표시하고 중앙의 것을 잘라냅니다. 나머지 8개의 하위 사각형 각각에 대해 동일한 " |
| 846 |
"방식으로 처리하고 *무한히* 계속합니다. 최종 결과는 면적이 0이고 프랙탈 차원이 1.8928...인 집합입니다." |
| 847 |
|
| 848 |
#: ../../recipes-images.rst:477 56abcac9cb974ce6ae22fd649ca0859f |
| 849 |
msgid "" |
| 850 |
"This script creates an approximate image of it as a PNG, by going down to" |
| 851 |
" one-pixel granularity. To increase the image precision, change the value" |
| 852 |
" of n (precision)::" |
| 853 |
msgstr "" |
| 854 |
"이 스크립트는 1픽셀 단위까지 내려가서 PNG로 근사 이미지를 생성합니다. 이미지 정밀도를 높이려면 n(정밀도) 값을 변경하세요::" |
| 855 |
|
| 856 |
#: ../../recipes-images.rst:531 c2a2453f8f7b4dbdb1a88b9ab6e6be44 |
| 857 |
msgid "The result should look something like this:" |
| 858 |
msgstr "결과는 다음과 같아야 합니다:" |
| 859 |
|
| 860 |
#: ../../recipes-images.rst:541 7b65b42e069e44c4acda5058a222b54c |
| 861 |
msgid "How to Interface with NumPy" |
| 862 |
msgstr "NumPy와 인터페이스하는 방법" |
| 863 |
|
| 864 |
#: ../../recipes-images.rst:543 4737dca0e38f4d0391a1712b9196eeb8 |
| 865 |
msgid "" |
| 866 |
"This shows how to create a PNG file from a numpy array (several times " |
| 867 |
"faster than most other methods)::" |
| 868 |
msgstr "이것은 numpy 배열에서 PNG 파일을 만드는 방법을 보여줍니다(대부분의 다른 방법보다 몇 배 빠름)::" |
| 869 |
|
| 870 |
#: ../../recipes-images.rst:570 86677e790d2c4f67807e8699c758c3b8 |
| 871 |
msgid "How to Add Images to a PDF Page" |
| 872 |
msgstr "PDF 페이지에 이미지 추가 방법" |
| 873 |
|
| 874 |
#: ../../recipes-images.rst:572 8b806d59869144378fcd5066d1490f5c |
| 875 |
msgid "" |
| 876 |
"There are two methods to add images to a PDF page: " |
| 877 |
":meth:`Page.insert_image` and :meth:`Page.show_pdf_page`. Both methods " |
| 878 |
"have things in common, but there are also differences." |
| 879 |
msgstr "" |
| 880 |
"PDF 페이지에 이미지를 추가하는 두 가지 방법이 있습니다: :meth:`Page.insert_image` 와 " |
| 881 |
":meth:`Page.show_pdf_page`. 두 방법 모두 공통점이 있지만 차이점도 있습니다." |
| 882 |
|
| 883 |
#: ../../recipes-images.rst:575 2c8c48d1aa0b4d95ba46f51b58d654d6 |
| 884 |
msgid "**Criterion**" |
| 885 |
msgstr "**기준**" |
| 886 |
|
| 887 |
#: ../../recipes-images.rst:575 7d8993132b2b4a42a0cf8d794f2992d0 |
| 888 |
msgid ":meth:`Page.insert_image`" |
| 889 |
msgstr ":meth:`Page.insert_image`" |
| 890 |
|
| 891 |
#: ../../recipes-images.rst:575 8a3e9ca045d64f2e8d891f008fec70a3 |
| 892 |
msgid ":meth:`Page.show_pdf_page`" |
| 893 |
msgstr ":meth:`Page.show_pdf_page`" |
| 894 |
|
| 895 |
#: ../../recipes-images.rst:577 5bd36cce5edc4839bb92e31c9c76b006 |
| 896 |
msgid "displayable content" |
| 897 |
msgstr "표시 가능한 콘텐츠" |
| 898 |
|
| 899 |
#: ../../recipes-images.rst:577 6abadbc464324e72b3412212af08ddd5 |
| 900 |
msgid "image file, image in memory, pixmap" |
| 901 |
msgstr "이미지 파일, 메모리의 이미지, 픽스맵" |
| 902 |
|
| 903 |
#: ../../recipes-images.rst:577 fe5a852c20eb446f96ab83f04f7f4a93 |
| 904 |
msgid "PDF page" |
| 905 |
msgstr "PDF 페이지" |
| 906 |
|
| 907 |
#: ../../recipes-images.rst:578 204fbfd1f4dd47b9b874c7093d251715 |
| 908 |
msgid "display resolution" |
| 909 |
msgstr "표시 해상도" |
| 910 |
|
| 911 |
#: ../../recipes-images.rst:578 6877443fc21f4ae29b20fa83d0845e7f |
| 912 |
msgid "image resolution" |
| 913 |
msgstr "이미지 해상도" |
| 914 |
|
| 915 |
#: ../../recipes-images.rst:578 3259783ac12241b39f8d13f3ae0773d6 |
| 916 |
msgid "vectorized (except raster page content)" |
| 917 |
msgstr "벡터화됨(래스터 페이지 콘텐츠 제외)" |
| 918 |
|
| 919 |
#: ../../recipes-images.rst:579 0a170d4e27b74f7ba12e8e015f247437 |
| 920 |
msgid "rotation" |
| 921 |
msgstr "회전" |
| 922 |
|
| 923 |
#: ../../recipes-images.rst:579 809287424df744108ab05380b655171e |
| 924 |
msgid "0, 90, 180 or 270 degrees" |
| 925 |
msgstr "0, 90, 180 또는 270도" |
| 926 |
|
| 927 |
#: ../../recipes-images.rst:579 da8c599cd42840bbac1e77a82693730a |
| 928 |
msgid "any angle" |
| 929 |
msgstr "임의의 각도" |
| 930 |
|
| 931 |
#: ../../recipes-images.rst:580 f40e820c9fb14438ae80fc9bde7f8a98 |
| 932 |
msgid "clipping" |
| 933 |
msgstr "클리핑" |
| 934 |
|
| 935 |
#: ../../recipes-images.rst:580 4573b228aad144ed96c21fc96b46d235 |
| 936 |
msgid "no (full image only)" |
| 937 |
msgstr "아니오(전체 이미지만)" |
| 938 |
|
| 939 |
#: ../../recipes-images.rst:580 ../../recipes-images.rst:585 |
| 940 |
#: 451bef807fb34d769267984ed465f6dc cca26d0a49b6435a81557dc0961b5744 |
| 941 |
msgid "yes" |
| 942 |
msgstr "예" |
| 943 |
|
| 944 |
#: ../../recipes-images.rst:581 cfbb20540a0b4c778339a005d689e7b8 |
| 945 |
msgid "keep aspect ratio" |
| 946 |
msgstr "종횡비 유지" |
| 947 |
|
| 948 |
#: ../../recipes-images.rst:581 9088023618154cb2b1a12c0ddf19f1a2 |
| 949 |
#: f0b3417bf2a7468f8f23939745c86e02 |
| 950 |
msgid "yes (default option)" |
| 951 |
msgstr "예(기본 옵션)" |
| 952 |
|
| 953 |
#: ../../recipes-images.rst:582 5f19b1705d7c458d9132e003453cbec7 |
| 954 |
msgid "transparency (water marking)" |
| 955 |
msgstr "투명도(워터마킹)" |
| 956 |
|
| 957 |
#: ../../recipes-images.rst:582 99fc40d08cd448d4a3d5157524c2fed1 |
| 958 |
msgid "depends on the image" |
| 959 |
msgstr "이미지에 따라 다름" |
| 960 |
|
| 961 |
#: ../../recipes-images.rst:582 4953bd2dbe474a6a95444caaec0f8e00 |
| 962 |
msgid "depends on the page" |
| 963 |
msgstr "페이지에 따라 다름" |
| 964 |
|
| 965 |
#: ../../recipes-images.rst:583 800220a1afe84937ab054dd04a19a8c8 |
| 966 |
msgid "location / placement" |
| 967 |
msgstr "위치 / 배치" |
| 968 |
|
| 969 |
#: ../../recipes-images.rst:583 3d7142d3e8b844178ad964a906047c57 |
| 970 |
#: 6f79b41a8b7f44d0b808c73f0bca9bbf |
| 971 |
msgid "scaled to fit target rectangle" |
| 972 |
msgstr "대상 사각형에 맞게 크기 조정" |
| 973 |
|
| 974 |
#: ../../recipes-images.rst:584 bcd9bfd74c0e4791b173eea29559bf7c |
| 975 |
msgid "performance" |
| 976 |
msgstr "성능" |
| 977 |
|
| 978 |
#: ../../recipes-images.rst:584 709fb304b9de44d69140fb3994966d0b |
| 979 |
#: aa53a4c8c09a4cfba0e8f1a66a28bb65 |
| 980 |
msgid "automatic prevention of duplicates;" |
| 981 |
msgstr "중복 자동 방지;" |
| 982 |
|
| 983 |
#: ../../recipes-images.rst:585 0937b39761af40238a7534454037df7f |
| 984 |
msgid "multi-page image support" |
| 985 |
msgstr "다중 페이지 이미지 지원" |
| 986 |
|
| 987 |
#: ../../recipes-images.rst:585 14f432eb978947a8aeab98f966d2d10f |
| 988 |
msgid "no" |
| 989 |
msgstr "아니오" |
| 990 |
|
| 991 |
#: ../../recipes-images.rst:586 925c5122b94f48c5b30dceafcb918523 |
| 992 |
msgid "ease of use" |
| 993 |
msgstr "사용 편의성" |
| 994 |
|
| 995 |
#: ../../recipes-images.rst:586 570bc160fd964dfd90f9efc5d183be86 |
| 996 |
msgid "simple, intuitive;" |
| 997 |
msgstr "간단하고 직관적;" |
| 998 |
|
| 999 |
#: ../../recipes-images.rst:586 7cf88dffae244d2ab3bda778f8a61657 |
| 1000 |
msgid "" |
| 1001 |
"simple, intuitive; **usable for all document types** (including images!) " |
| 1002 |
"after conversion to PDF via :meth:`Document.convert_to_pdf`" |
| 1003 |
msgstr "" |
| 1004 |
"간단하고 직관적; :meth:`Document.convert_to_pdf` 를 통해 PDF로 변환 후 **모든 문서 유형** (이미지 포함!)에 " |
| 1005 |
"사용 가능" |
| 1006 |
|
| 1007 |
#: ../../recipes-images.rst:592 6ad1ea7eaa8f47249a3a73f2bd375d6e |
| 1008 |
msgid "" |
| 1009 |
"Basic code pattern for :meth:`Page.insert_image`. **Exactly one** of the " |
| 1010 |
"parameters **filename / stream / pixmap** must be given, if not re-" |
| 1011 |
"inserting an existing image::" |
| 1012 |
msgstr "" |
| 1013 |
":meth:`Page.insert_image` 의 기본 코드 패턴. 기존 이미지를 다시 삽입하지 않는 경우 **filename / stream / " |
| 1014 |
"pixmap** 매개변수 중 **정확히 하나** 를 제공해야 합니다::" |
| 1015 |
|
| 1016 |
#: ../../recipes-images.rst:607 324876f64fbe4c44ab53d2a63fa13939 |
| 1017 |
msgid "" |
| 1018 |
"Basic code pattern for :meth:`Page.show_pdf_page`. Source and target PDF " |
| 1019 |
"must be different :ref:`Document` objects (but may be opened from the " |
| 1020 |
"same file)::" |
| 1021 |
msgstr "" |
| 1022 |
":meth:`Page.show_pdf_page` 의 기본 코드 패턴. 소스 및 대상 PDF는 서로 다른 :ref:`Document` 객체여야 " |
| 1023 |
"합니다(같은 파일에서 열 수 있음)::" |
| 1024 |
|
| 1025 |
#: ../../recipes-images.rst:623 3fb681b8dd954d6191b33bb9379c5769 |
| 1026 |
msgid "How to Use Pixmaps: Checking Text Visibility" |
| 1027 |
msgstr "픽스맵 사용 방법: 텍스트 가시성 확인" |
| 1028 |
|
| 1029 |
#: ../../recipes-images.rst:625 f6738eb5b3944be59ab375f9b7eb965f |
| 1030 |
msgid "" |
| 1031 |
"Whether or not a given piece of text is actually visible on a page " |
| 1032 |
"depends on a number of factors:" |
| 1033 |
msgstr "주어진 텍스트가 페이지에서 실제로 보이는지는 여러 요인에 따라 다릅니다:" |
| 1034 |
|
| 1035 |
#: ../../recipes-images.rst:627 1e747fae38a041ceab9962bed078d738 |
| 1036 |
msgid "" |
| 1037 |
"Text is not covered by another object but may have the same color as the " |
| 1038 |
"background i.e., white-on-white etc." |
| 1039 |
msgstr "텍스트가 다른 객체에 의해 덮이지 않았지만 배경과 같은 색상일 수 있습니다. 예: 흰색 위의 흰색 등." |
| 1040 |
|
| 1041 |
#: ../../recipes-images.rst:628 f335376e08db4247a18b81df59e129c8 |
| 1042 |
msgid "" |
| 1043 |
"Text may be covered by an image or vector graphics. Detecting this is an " |
| 1044 |
"important capability, for example to uncover badly anonymized legal " |
| 1045 |
"documents." |
| 1046 |
msgstr "" |
| 1047 |
"텍스트가 이미지나 벡터 그래픽에 의해 덮일 수 있습니다. 이를 감지하는 것은 중요한 기능입니다. 예를 들어 잘못 익명화된 법률 문서를 " |
| 1048 |
"발견하는 데 사용됩니다." |
| 1049 |
|
| 1050 |
#: ../../recipes-images.rst:629 c13633a208484210b9ae568ec9ba0f68 |
| 1051 |
msgid "" |
| 1052 |
"Text is created hidden. This technique is usually used by OCR tools to " |
| 1053 |
"store the recognized text in an invisible layer on the page." |
| 1054 |
msgstr "" |
| 1055 |
"텍스트가 숨겨진 상태로 생성됩니다. 이 기술은 일반적으로 OCR 도구가 인식된 텍스트를 페이지의 보이지 않는 레이어에 저장하는 데 " |
| 1056 |
"사용됩니다." |
| 1057 |
|
| 1058 |
#: ../../recipes-images.rst:631 15e4b37ca4e743d9ace6bbddf7721b12 |
| 1059 |
msgid "" |
| 1060 |
"The following shows how to detect situation 1. above, or situation 2. if " |
| 1061 |
"the covering object is unicolor::" |
| 1062 |
msgstr "" |
| 1063 |
"다음은 위의 상황 1을 감지하는 방법 또는 덮는 객체가 단색인 경우 상황 2를 감지하는 방법을 보여줍니다::" |
| 1064 |
|
| 1065 |
#: ../../recipes-images.rst:645 83c1b504293642219a2e1c7034fa13ef |
| 1066 |
msgid "" |
| 1067 |
"Method :meth:`Pixmap.color_topusage` returns a tuple `(ratio, pixel)` " |
| 1068 |
"where 0 < ratio <= 1 and *pixel* is the pixel value of the color. Please " |
| 1069 |
"note that we create a **pixmap only once**. This can save a lot of " |
| 1070 |
"processing time if there are multiple hit rectangles." |
| 1071 |
msgstr "" |
| 1072 |
":meth:`Pixmap.color_topusage` 메서드는 `(ratio, pixel)` 튜플을 반환합니다. 여기서 0 < ratio <= " |
| 1073 |
"1이고 *pixel* 은 색상의 픽셀 값입니다. **픽스맵을 한 번만 생성** 합니다. 여러 히트 사각형이 있는 경우 처리 시간을 많이 " |
| 1074 |
"절약할 수 있습니다." |
| 1075 |
|
| 1076 |
#: ../../recipes-images.rst:647 a5240ef02f1b474ca0cc0911c89fca25 |
| 1077 |
msgid "" |
| 1078 |
"The logic of the above code is: If the needle's rectangle is (\"almost\":" |
| 1079 |
" > 95%) unicolor, then the text cannot be visible. A typical result for " |
| 1080 |
"visible text returns the color of the background (mostly white) and a " |
| 1081 |
"ratio around 0.7 to 0.8, for example `(0.685, b'\\xff\\xff\\xff')`." |
| 1082 |
msgstr "" |
| 1083 |
"위 코드의 로직은 다음과 같습니다: 바늘이 가리키는 사각형이 (\"거의\": > 95%) 단색이면 텍스트가 보일 수 없습니다. " |
| 1084 |
"보이는 텍스트의 일반적인 결과는 배경 색상(대부분 흰색)과 약 0.7~0.8의 비율을 반환합니다. 예: `(0.685, " |
| 1085 |
"b'\\xff\\xff\\xff')`." |
| 1086 |
|
| 1087 |
#: ../../footer.rst:46 069c8258eace4a40a1b85ff062eeb067 |
| 1088 |
msgid "This documentation covers all versions up to |version|." |
| 1089 |
msgstr "이 문서는 |version| 까지의 모든 버전을 다룹니다." |
| 1090 |
|