vec-io 0.7.2__tar.gz → 0.8.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (484) hide show
  1. {vec_io-0.7.2 → vec_io-0.8.0}/PKG-INFO +1 -1
  2. {vec_io-0.7.2 → vec_io-0.8.0}/docs/api.md +2 -1
  3. vec_io-0.8.0/docs/reference/Color.md +255 -0
  4. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_api.py +4 -4
  5. vec_io-0.8.0/tests/test_color.py +100 -0
  6. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_document_write.py +2 -2
  7. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/__init__.py +1 -1
  8. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/paint.py +250 -9
  9. vec_io-0.7.2/docs/reference/Color.md +0 -60
  10. {vec_io-0.7.2 → vec_io-0.8.0}/LICENSE +0 -0
  11. {vec_io-0.7.2 → vec_io-0.8.0}/README.md +0 -0
  12. {vec_io-0.7.2 → vec_io-0.8.0}/docs/examples.md +0 -0
  13. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/AVIF.md +0 -0
  14. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Bookmark.md +0 -0
  15. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/CMYK.md +0 -0
  16. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Document.md +0 -0
  17. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Filter.md +0 -0
  18. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Flatten.md +0 -0
  19. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Font.md +0 -0
  20. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/FontDB.md +0 -0
  21. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Fonts.md +0 -0
  22. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/GlyphRun.md +0 -0
  23. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Image.md +0 -0
  24. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/ImagePolicy.md +0 -0
  25. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/JPEG.md +0 -0
  26. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/JXL.md +0 -0
  27. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Limits.md +0 -0
  28. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/LinearGradient.md +0 -0
  29. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Marker.md +0 -0
  30. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Mask.md +0 -0
  31. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Matrix.md +0 -0
  32. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/PDF.md +0 -0
  33. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/PDFFile.md +0 -0
  34. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/PDFPage.md +0 -0
  35. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/PNG.md +0 -0
  36. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Page.md +0 -0
  37. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/PageBoxes.md +0 -0
  38. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Path.md +0 -0
  39. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/PathMarker.md +0 -0
  40. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Pattern.md +0 -0
  41. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/RadialGradient.md +0 -0
  42. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/SVGDocument.md +0 -0
  43. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Simplify.md +0 -0
  44. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Span.md +0 -0
  45. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Spot.md +0 -0
  46. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/Style.md +0 -0
  47. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/TIFF.md +0 -0
  48. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/TextLayout.md +0 -0
  49. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/View.md +0 -0
  50. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Area.md +0 -0
  51. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Cells.md +0 -0
  52. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Circle.md +0 -0
  53. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.ClipPath.md +0 -0
  54. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Drawing.md +0 -0
  55. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Element.md +0 -0
  56. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Ellipse.md +0 -0
  57. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Group.md +0 -0
  58. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Image.md +0 -0
  59. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Line.md +0 -0
  60. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Lines.md +0 -0
  61. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Marker.md +0 -0
  62. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Markers.md +0 -0
  63. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Mask.md +0 -0
  64. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Path.md +0 -0
  65. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Pattern.md +0 -0
  66. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Polygon.md +0 -0
  67. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Polygons.md +0 -0
  68. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Polyline.md +0 -0
  69. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Rect.md +0 -0
  70. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Rects.md +0 -0
  71. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.SVG.md +0 -0
  72. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Segments.md +0 -0
  73. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.TSpan.md +0 -0
  74. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Text.md +0 -0
  75. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.TextBox.md +0 -0
  76. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/draw.Use.md +0 -0
  77. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.Blend.md +0 -0
  78. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.ColorMatrix.md +0 -0
  79. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.ComponentTransfer.md +0 -0
  80. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.Composite.md +0 -0
  81. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.ConvolveMatrix.md +0 -0
  82. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.DiffuseLighting.md +0 -0
  83. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.DisplacementMap.md +0 -0
  84. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.DistantLight.md +0 -0
  85. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.DropShadow.md +0 -0
  86. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.Flood.md +0 -0
  87. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.GaussianBlur.md +0 -0
  88. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.Image.md +0 -0
  89. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.Merge.md +0 -0
  90. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.Morphology.md +0 -0
  91. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.Offset.md +0 -0
  92. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.PointLight.md +0 -0
  93. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.Primitive.md +0 -0
  94. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.SpecularLighting.md +0 -0
  95. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.SpotLight.md +0 -0
  96. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.Tile.md +0 -0
  97. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.Transfer.md +0 -0
  98. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/filter.Turbulence.md +0 -0
  99. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/text.Extent.md +0 -0
  100. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/text.Glyph.md +0 -0
  101. {vec_io-0.7.2 → vec_io-0.8.0}/docs/reference/text.Paragraphs.md +0 -0
  102. {vec_io-0.7.2 → vec_io-0.8.0}/docs/tutorial.md +0 -0
  103. {vec_io-0.7.2 → vec_io-0.8.0}/hatch_build.py +0 -0
  104. {vec_io-0.7.2 → vec_io-0.8.0}/pyproject.toml +0 -0
  105. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/abc.br +0 -0
  106. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/abc.out.z +0 -0
  107. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/big.br +0 -0
  108. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/big.out.z +0 -0
  109. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/binary.br +0 -0
  110. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/binary.out.z +0 -0
  111. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/bits2.br +0 -0
  112. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/bits2.out.z +0 -0
  113. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/dictwords.br +0 -0
  114. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/dictwords.out.z +0 -0
  115. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/empty.br +0 -0
  116. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/empty.out.z +0 -0
  117. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/four.br +0 -0
  118. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/four.out.z +0 -0
  119. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/handmade.br +0 -0
  120. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/handmade.out.z +0 -0
  121. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/ints.br +0 -0
  122. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/ints.out.z +0 -0
  123. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/mixed.br +0 -0
  124. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/mixed.out.z +0 -0
  125. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/multi.br +0 -0
  126. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/multi.out.z +0 -0
  127. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/one.br +0 -0
  128. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/one.out.z +0 -0
  129. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/random.br +0 -0
  130. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/random.out.z +0 -0
  131. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/text11.br +0 -0
  132. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/text11.out.z +0 -0
  133. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/text_q2.br +0 -0
  134. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/text_q2.out.z +0 -0
  135. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/three.br +0 -0
  136. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/three.out.z +0 -0
  137. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/w10.br +0 -0
  138. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/w10.out.z +0 -0
  139. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/w24.br +0 -0
  140. {vec_io-0.7.2 → vec_io-0.8.0}/tests/brotli/w24.out.z +0 -0
  141. {vec_io-0.7.2 → vec_io-0.8.0}/tests/colorfonts/ColrV0Test.ttf +0 -0
  142. {vec_io-0.7.2 → vec_io-0.8.0}/tests/colorfonts/ColrV1Test.ttf +0 -0
  143. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/bench_showcase.svg +0 -0
  144. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/clipping.svg +0 -0
  145. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/css.svg +0 -0
  146. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/empty.svg +0 -0
  147. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/filters.svg +0 -0
  148. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/fonts_face.svg +0 -0
  149. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/gradients.svg +0 -0
  150. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/images.svg +0 -0
  151. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/markers.svg +0 -0
  152. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/masks.svg +0 -0
  153. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/opacity.svg +0 -0
  154. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/paths.svg +0 -0
  155. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/patterns.svg +0 -0
  156. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/rasterized.svg +0 -0
  157. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/shapes.svg +0 -0
  158. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/strokes.svg +0 -0
  159. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/structure.svg +0 -0
  160. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/text-wrap.svg +0 -0
  161. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/text_basic.svg +0 -0
  162. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/text_features.svg +0 -0
  163. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/text_layout.svg +0 -0
  164. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/text_path.svg +0 -0
  165. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/text_unicode.svg +0 -0
  166. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/transforms.svg +0 -0
  167. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/units.svg +0 -0
  168. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/use_symbol.svg +0 -0
  169. {vec_io-0.7.2 → vec_io-0.8.0}/tests/corpus/viewbox.svg +0 -0
  170. {vec_io-0.7.2 → vec_io-0.8.0}/tests/fonts/VioTest-Bold.ttf +0 -0
  171. {vec_io-0.7.2 → vec_io-0.8.0}/tests/fonts/VioTest-Regular.ttf +0 -0
  172. {vec_io-0.7.2 → vec_io-0.8.0}/tests/fuzz_native.py +0 -0
  173. {vec_io-0.7.2 → vec_io-0.8.0}/tests/fuzz_pdfread.py +0 -0
  174. {vec_io-0.7.2 → vec_io-0.8.0}/tests/group_oracle.py +0 -0
  175. {vec_io-0.7.2 → vec_io-0.8.0}/tests/helpers.py +0 -0
  176. {vec_io-0.7.2 → vec_io-0.8.0}/tests/jbig2_encoder.py +0 -0
  177. {vec_io-0.7.2 → vec_io-0.8.0}/tests/jpx_fixtures.py +0 -0
  178. {vec_io-0.7.2 → vec_io-0.8.0}/tests/make_crypt_fixtures.py +0 -0
  179. {vec_io-0.7.2 → vec_io-0.8.0}/tests/maps.py +0 -0
  180. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfbuild.py +0 -0
  181. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/cmyk8.j2k +0 -0
  182. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/cmyk8.jp2 +0 -0
  183. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/gray12.j2k +0 -0
  184. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/gray16.jp2 +0 -0
  185. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/gray4-signed.j2k +0 -0
  186. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/graya16.jp2 +0 -0
  187. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/gs-r2.pdf +0 -0
  188. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/gs-r3.pdf +0 -0
  189. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/icc-gray8.jp2 +0 -0
  190. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/qpdf-r2.pdf +0 -0
  191. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/qpdf-r3.pdf +0 -0
  192. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/qpdf-r4-aes-nometa.pdf +0 -0
  193. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/qpdf-r4-aes.pdf +0 -0
  194. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/qpdf-r4-objstm.pdf +0 -0
  195. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/qpdf-r4-pdfdoc.pdf +0 -0
  196. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/qpdf-r4-rc4.pdf +0 -0
  197. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/qpdf-r5.pdf +0 -0
  198. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/qpdf-r6-empty.pdf +0 -0
  199. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/qpdf-r6-utf8.pdf +0 -0
  200. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/qpdf-r6.pdf +0 -0
  201. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/rgb8.j2k +0 -0
  202. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/rgb8.jp2 +0 -0
  203. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/rgba8.jp2 +0 -0
  204. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/ycc420.jp2 +0 -0
  205. {vec_io-0.7.2 → vec_io-0.8.0}/tests/pdfread/ycc422-offset.jp2 +0 -0
  206. {vec_io-0.7.2 → vec_io-0.8.0}/tests/scene_oracle.py +0 -0
  207. {vec_io-0.7.2 → vec_io-0.8.0}/tests/shapes.py +0 -0
  208. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_actual_text.py +0 -0
  209. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_avif.py +0 -0
  210. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_backends.py +0 -0
  211. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_canvas_features.py +0 -0
  212. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_ccitt.py +0 -0
  213. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_cells.py +0 -0
  214. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_chrome_suite.py +0 -0
  215. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_cli.py +0 -0
  216. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_cmap.py +0 -0
  217. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_cmyk.py +0 -0
  218. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_codecs.py +0 -0
  219. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_compile.py +0 -0
  220. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_convert.py +0 -0
  221. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_css_browser.py +0 -0
  222. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_dlist.py +0 -0
  223. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_dpi.py +0 -0
  224. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_encodings.py +0 -0
  225. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_eps.py +0 -0
  226. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_features.py +0 -0
  227. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_filters.py +0 -0
  228. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_flatten.py +0 -0
  229. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_font_sources.py +0 -0
  230. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_font_tables.py +0 -0
  231. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_fonts_io.py +0 -0
  232. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_google_fonts.py +0 -0
  233. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_image_formats.py +0 -0
  234. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_jpx_jbig2.py +0 -0
  235. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_jxl.py +0 -0
  236. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_marker_runs.py +0 -0
  237. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_native.py +0 -0
  238. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_native_emit.py +0 -0
  239. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_native_jpeg.py +0 -0
  240. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_native_limits.py +0 -0
  241. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_native_png.py +0 -0
  242. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_network.py +0 -0
  243. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_output.py +0 -0
  244. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_paint_browser.py +0 -0
  245. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_parsing.py +0 -0
  246. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_pdf_security.py +0 -0
  247. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_pdfa.py +0 -0
  248. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_pdffile.py +0 -0
  249. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_pdfread.py +0 -0
  250. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_raster.py +0 -0
  251. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_readers.py +0 -0
  252. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_resize.py +0 -0
  253. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_save_pages.py +0 -0
  254. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_scene.py +0 -0
  255. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_shapes.py +0 -0
  256. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_simplify.py +0 -0
  257. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_svg_fonts.py +0 -0
  258. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_svg_semantics.py +0 -0
  259. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_svg_writer.py +0 -0
  260. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_text.py +0 -0
  261. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_text_as_paths.py +0 -0
  262. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_text_browser.py +0 -0
  263. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_textlayout.py +0 -0
  264. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_threads.py +0 -0
  265. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_trim.py +0 -0
  266. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_type1.py +0 -0
  267. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_units.py +0 -0
  268. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_varfonts.py +0 -0
  269. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_views.py +0 -0
  270. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_woff2.py +0 -0
  271. {vec_io-0.7.2 → vec_io-0.8.0}/tests/test_woff2_write.py +0 -0
  272. {vec_io-0.7.2 → vec_io-0.8.0}/tests/testfont.py +0 -0
  273. {vec_io-0.7.2 → vec_io-0.8.0}/tests/typing_sample.py +0 -0
  274. {vec_io-0.7.2 → vec_io-0.8.0}/tests/varfonts/VarTest.otf +0 -0
  275. {vec_io-0.7.2 → vec_io-0.8.0}/tests/varfonts/VarTest.ttf +0 -0
  276. {vec_io-0.7.2 → vec_io-0.8.0}/tests/woff2/make.py +0 -0
  277. {vec_io-0.7.2 → vec_io-0.8.0}/tests/woff2/pair.woff2 +0 -0
  278. {vec_io-0.7.2 → vec_io-0.8.0}/tests/woff2/rich-null.woff2 +0 -0
  279. {vec_io-0.7.2 → vec_io-0.8.0}/tests/woff2/rich.ttf +0 -0
  280. {vec_io-0.7.2 → vec_io-0.8.0}/tests/woff2/rich.woff2 +0 -0
  281. {vec_io-0.7.2 → vec_io-0.8.0}/tools/build_native.py +0 -0
  282. {vec_io-0.7.2 → vec_io-0.8.0}/tools/gen_api.py +0 -0
  283. {vec_io-0.7.2 → vec_io-0.8.0}/tools/zig.lock +0 -0
  284. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/__main__.py +0 -0
  285. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/arrays.py +0 -0
  286. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/canvas.py +0 -0
  287. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/cells.py +0 -0
  288. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/cli.py +0 -0
  289. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/convert.py +0 -0
  290. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/css_tokens.py +0 -0
  291. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/document.py +0 -0
  292. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/draw.py +0 -0
  293. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/eps/__init__.py +0 -0
  294. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/eps/fonts.py +0 -0
  295. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/errors.py +0 -0
  296. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/filter.py +0 -0
  297. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/flate.py +0 -0
  298. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/flatten.py +0 -0
  299. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/__init__.py +0 -0
  300. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/cff.py +0 -0
  301. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/cff2.py +0 -0
  302. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/charstring.py +0 -0
  303. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/colr.py +0 -0
  304. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/ctan.py +0 -0
  305. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/download.py +0 -0
  306. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/encodings.py +0 -0
  307. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/fontdb.py +0 -0
  308. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/fontshare.py +0 -0
  309. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/fontshare_families.txt +0 -0
  310. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/fontsource.py +0 -0
  311. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/fontsource_families.txt +0 -0
  312. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/glyphlist.txt +0 -0
  313. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/google.py +0 -0
  314. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/google_families.txt +0 -0
  315. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/opentype.py +0 -0
  316. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/program.py +0 -0
  317. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/sfnt.py +0 -0
  318. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/type1.py +0 -0
  319. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/urw.py +0 -0
  320. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/variations.py +0 -0
  321. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/web.py +0 -0
  322. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/fonts/woff2.py +0 -0
  323. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/geometry.py +0 -0
  324. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/image/__init__.py +0 -0
  325. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/image/avif.py +0 -0
  326. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/image/bmp.py +0 -0
  327. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/image/codecs.py +0 -0
  328. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/image/gif.py +0 -0
  329. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/image/icc.py +0 -0
  330. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/image/jbig2.py +0 -0
  331. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/image/jpx.py +0 -0
  332. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/image/jxl.py +0 -0
  333. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/image/resource.py +0 -0
  334. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/image/tiff.py +0 -0
  335. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/image/webp.py +0 -0
  336. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/items.py +0 -0
  337. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/limits.py +0 -0
  338. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/lines.py +0 -0
  339. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/README.md +0 -0
  340. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/__init__.py +0 -0
  341. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/__main__.py +0 -0
  342. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/_api.py +0 -0
  343. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/brotli.py +0 -0
  344. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/emit.py +0 -0
  345. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/filters.py +0 -0
  346. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/jpeg.py +0 -0
  347. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/manifest.json +0 -0
  348. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/pdfread.py +0 -0
  349. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/png.py +0 -0
  350. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/alloc.c +0 -0
  351. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/brotli.c +0 -0
  352. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/brotli.h +0 -0
  353. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/brotli_dict.c +0 -0
  354. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/brotli_enc.c +0 -0
  355. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/ccitt.c +0 -0
  356. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/color.c +0 -0
  357. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/crypt.c +0 -0
  358. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/cull.c +0 -0
  359. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/data.c +0 -0
  360. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/dlist.c +0 -0
  361. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/dlist.h +0 -0
  362. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/emit.c +0 -0
  363. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/epsw.c +0 -0
  364. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/filters.c +0 -0
  365. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/flat.c +0 -0
  366. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/flatten.c +0 -0
  367. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/func.c +0 -0
  368. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/image.c +0 -0
  369. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/interp.c +0 -0
  370. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/interp.h +0 -0
  371. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/items.c +0 -0
  372. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/jpeg.h +0 -0
  373. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/jpeg_dec.c +0 -0
  374. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/jpeg_enc.c +0 -0
  375. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/jpx.c +0 -0
  376. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/lex.h +0 -0
  377. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/math.c +0 -0
  378. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/matrix.h +0 -0
  379. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/median.c +0 -0
  380. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/mesh.c +0 -0
  381. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/paint.c +0 -0
  382. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/path.c +0 -0
  383. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/pdfread.c +0 -0
  384. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/png.c +0 -0
  385. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/quant.c +0 -0
  386. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/raster.h +0 -0
  387. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/res.c +0 -0
  388. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/rt.c +0 -0
  389. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/samples.c +0 -0
  390. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/scan.c +0 -0
  391. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/scene.c +0 -0
  392. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/scene.h +0 -0
  393. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/shade.c +0 -0
  394. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/shade.h +0 -0
  395. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/signatures.c +0 -0
  396. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/stroke.c +0 -0
  397. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/svgw.c +0 -0
  398. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/vio.h +0 -0
  399. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/vio_api.h +0 -0
  400. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/src/woff2.c +0 -0
  401. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/native/woff2.py +0 -0
  402. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/network.py +0 -0
  403. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/notebook.py +0 -0
  404. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/options.py +0 -0
  405. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/output_plan.py +0 -0
  406. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdf/__init__.py +0 -0
  407. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdf/copier.py +0 -0
  408. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdf/images.py +0 -0
  409. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdf/objects.py +0 -0
  410. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdf/pdfa.py +0 -0
  411. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdf/writer.py +0 -0
  412. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdffile.py +0 -0
  413. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/__init__.py +0 -0
  414. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/ccitt.py +0 -0
  415. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/cmap.py +0 -0
  416. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/cmap_resources.txt +0 -0
  417. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/cmaps.zip +0 -0
  418. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/colors.py +0 -0
  419. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/content.py +0 -0
  420. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/convert.py +0 -0
  421. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/errors.py +0 -0
  422. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/file.py +0 -0
  423. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/fonts.py +0 -0
  424. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/functions.py +0 -0
  425. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/images.py +0 -0
  426. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/meshes.py +0 -0
  427. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/origin.py +0 -0
  428. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/parser.py +0 -0
  429. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/reader.py +0 -0
  430. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/resources.py +0 -0
  431. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/security.py +0 -0
  432. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/shadings.py +0 -0
  433. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/pdfread/strings.py +0 -0
  434. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/py.typed +0 -0
  435. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/raster/__init__.py +0 -0
  436. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/raster/groups.py +0 -0
  437. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/raster/resources.py +0 -0
  438. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/recorder.py +0 -0
  439. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/records.py +0 -0
  440. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/resample.py +0 -0
  441. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/resources.py +0 -0
  442. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/scene.py +0 -0
  443. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/shapes.py +0 -0
  444. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/simplify.py +0 -0
  445. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/__init__.py +0 -0
  446. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/basic_shapes.py +0 -0
  447. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/clipmask.py +0 -0
  448. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/common.py +0 -0
  449. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/css.py +0 -0
  450. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/filters.py +0 -0
  451. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/fontface.py +0 -0
  452. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/images.py +0 -0
  453. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/markers.py +0 -0
  454. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/painter.py +0 -0
  455. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/parse.py +0 -0
  456. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/properties.py +0 -0
  457. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/references.py +0 -0
  458. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/render.py +0 -0
  459. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/servers.py +0 -0
  460. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/text.py +0 -0
  461. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/text_paint.py +0 -0
  462. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/tree.py +0 -0
  463. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/values.py +0 -0
  464. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/svg/writer.py +0 -0
  465. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/text/__init__.py +0 -0
  466. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/text/bidi.py +0 -0
  467. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/text/breaking.py +0 -0
  468. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/text/harfbuzz.py +0 -0
  469. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/text/hyph_en_us.py +0 -0
  470. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/text/hyph_fr.py +0 -0
  471. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/text/hyphenation.py +0 -0
  472. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/text/mirroring.py +0 -0
  473. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/text/path.py +0 -0
  474. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/text/segment.py +0 -0
  475. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/text/shaping.py +0 -0
  476. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/text/ucd_grapheme.py +0 -0
  477. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/text/ucd_ignorable.py +0 -0
  478. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/text/ucd_linebreak.py +0 -0
  479. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/text/ucd_scripts.py +0 -0
  480. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/threads.py +0 -0
  481. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/transfer.py +0 -0
  482. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/trim.py +0 -0
  483. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/types.py +0 -0
  484. {vec_io-0.7.2 → vec_io-0.8.0}/vec_io/units.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: vec_io
3
- Version: 0.7.2
3
+ Version: 0.8.0
4
4
  Summary: Vector graphics in Python: read SVG and PDF; write PDF, SVG, EPS, PNG, JPEG, JPEG XL, AVIF
5
5
  Project-URL: Repository, https://github.com/ajgouhier/vec_io
6
6
  Author-email: Arthur Gouhier <ajgouhier@gmail.com>
@@ -61,7 +61,8 @@ them.
61
61
  functions (`rgb()`, `hsl()`, `hwb()`, `lab()`, `lch()`, `oklab()`, `oklch()`, `color()` in
62
62
  `srgb`, `srgb-linear`, `display-p3`, `a98-rgb`, `prophoto-rgb`, `rec2020`, `xyz`,
63
63
  `device-cmyk()`), relative colours and `color-mix()`; or a tuple `(r, g, b[, a])` in
64
- [0, 1]. `Color(r, g, b, alpha=1)` is such a checked tuple (`Color.rgb255` for 0–255).
64
+ [0, 1]. `Color(r, g, b, alpha=1)` is such a checked tuple (`from_rgb255`, `from_hex`,
65
+ `from_oklch`; `.hex`, `.lightness`…, `with_lightness()`, `mix()`: its reference page).
65
66
  Components outside [0, 1] raise `ArgumentError`; colours outside sRGB are gamut mapped as
66
67
  CSS Color 4 says. `vec_io.paint.parse_color(value)` gives the tuple (`None`: not a
67
68
  colour); `css_color(value, current="black", color_scheme="light")` also takes `currentColor`,
@@ -0,0 +1,255 @@
1
+ # Color
2
+
3
+ ```python
4
+ from vec_io import Color
5
+ ```
6
+
7
+ An sRGB color, a 4-tuple of red, green, blue and alpha in [0, 1] (any 3- or 4-tuple
8
+ of numbers in [0, 1], a CSS string, [`CMYK`](CMYK.md) or [`Spot`](Spot.md) is a color too).
9
+
10
+ `str(color)` is its `hex`. Lightness, chroma and hue are those of OKLCh
11
+ (Oklab in polar form): lightness 0–1, chroma 0 for grays, hue in degrees.
12
+
13
+ Example:
14
+
15
+ ```python
16
+ c = vec_io.Color.from_hex("#3b82f6")
17
+ c.with_lightness(0.8).hex # a lighter blue
18
+ c.with_hue(c.hue + 180) # its complement
19
+ c.mix("white", 0.25) # a quarter of the way to white
20
+ ```
21
+
22
+ | Parameter | Meaning |
23
+ |---|---|
24
+ | `r` | Red in [0, 1]. |
25
+ | `g` | Green in [0, 1]. |
26
+ | `b` | Blue in [0, 1]. |
27
+ | `alpha` | Alpha (opacity) in [0, 1]. |
28
+
29
+ The type of the None singleton.
30
+
31
+ ```python
32
+ Color(r, g, b, alpha=1.0) -> Color
33
+ ```
34
+
35
+ ## Members
36
+
37
+ ### from_rgb255
38
+
39
+ ```python
40
+ Color.from_rgb255(r, g, b, alpha=1.0) -> Color
41
+ ```
42
+
43
+ The color of red, green and blue on the 0-255 scale.
44
+
45
+ | Parameter | Meaning |
46
+ |---|---|
47
+ | `r` | Red in [0, 255]. |
48
+ | `g` | Green in [0, 255]. |
49
+ | `b` | Blue in [0, 255]. |
50
+ | `alpha` | Alpha (opacity) in [0, 1]. |
51
+
52
+ ### from_hex
53
+
54
+ ```python
55
+ Color.from_hex(text) -> Color
56
+ ```
57
+
58
+ The color of a CSS hex string.
59
+
60
+ | Parameter | Meaning |
61
+ |---|---|
62
+ | `text` | `"#rgb"`, `"#rgba"`, `"#rrggbb"` or `"#rrggbbaa"` (the `#` required). |
63
+
64
+ ### from_oklch
65
+
66
+ ```python
67
+ Color.from_oklch(lightness, chroma, hue, alpha=1.0, gamut="map") -> Color
68
+ ```
69
+
70
+ The color of OKLCh coordinates.
71
+
72
+ | Parameter | Meaning |
73
+ |---|---|
74
+ | `lightness` | Lightness in [0, 1] (0 black, 1 white). |
75
+ | `chroma` | Chroma, ≥ 0 (0 a gray; sRGB holds up to about 0.32). |
76
+ | `hue` | Hue in degrees (any number; wrapped into [0, 360)). |
77
+ | `alpha` | Alpha (opacity) in [0, 1]. |
78
+ | `gamut` | `"map"`: a color outside sRGB is mapped into it as CSS Color 4 maps `oklch()` (chroma lowered, lightness and hue kept within a just-noticeable difference); `"error"`: it raises `ArgumentError`. |
79
+
80
+ ### r
81
+
82
+ Property.
83
+
84
+ Red, in [0, 1].
85
+
86
+ ### g
87
+
88
+ Property.
89
+
90
+ Green, in [0, 1].
91
+
92
+ ### b
93
+
94
+ Property.
95
+
96
+ Blue, in [0, 1].
97
+
98
+ ### alpha
99
+
100
+ Property.
101
+
102
+ The alpha channel.
103
+
104
+ ### rgb255
105
+
106
+ Property.
107
+
108
+ `(r, g, b)` as integers in [0, 255].
109
+
110
+ ### rgba255
111
+
112
+ Property.
113
+
114
+ `(r, g, b, a)` as integers in [0, 255] (alpha as a hex color's last byte).
115
+
116
+ ### hex
117
+
118
+ Property.
119
+
120
+ `"#rrggbb"`, or `"#rrggbbaa"` when translucent (lowercase).
121
+
122
+ ### lightness
123
+
124
+ Property.
125
+
126
+ OKLCh lightness, in [0, 1].
127
+
128
+ ### chroma
129
+
130
+ Property.
131
+
132
+ OKLCh chroma, ≥ 0 (0 for a gray).
133
+
134
+ ### hue
135
+
136
+ Property.
137
+
138
+ OKLCh hue in degrees, in [0, 360); 0 for a gray.
139
+
140
+ ### luminance
141
+
142
+ Property.
143
+
144
+ Relative luminance as WCAG defines it, in [0, 1] (alpha ignored).
145
+
146
+ ### grayscale
147
+
148
+ Property.
149
+
150
+ The gray of the same lightness (chroma 0), alpha kept.
151
+
152
+ ### with_alpha
153
+
154
+ ```python
155
+ color.with_alpha(alpha, mode="set") -> Color
156
+ ```
157
+
158
+ This color with another alpha.
159
+
160
+ | Parameter | Meaning |
161
+ |---|---|
162
+ | `alpha` | Alpha in [0, 1]. |
163
+ | `mode` | `"set"`: the alpha becomes `alpha`; `"keep"`: a translucent color (alpha < 1) keeps its own, an opaque one takes `alpha`; `"multiply"`: its alpha times `alpha`. |
164
+
165
+ ### without_alpha
166
+
167
+ ```python
168
+ color.without_alpha()
169
+ ```
170
+
171
+ This color, opaque.
172
+
173
+ ### with_lightness
174
+
175
+ ```python
176
+ color.with_lightness(value, gamut="map") -> Color
177
+ ```
178
+
179
+ This color with another OKLCh lightness, its chroma, hue and alpha kept.
180
+
181
+ | Parameter | Meaning |
182
+ |---|---|
183
+ | `value` | Lightness in [0, 1]. |
184
+ | `gamut` | `"map"`: a result outside sRGB is mapped into it (its chroma lowered); `"error"`: it raises `ArgumentError`. |
185
+
186
+ ### with_chroma
187
+
188
+ ```python
189
+ color.with_chroma(value, gamut="map") -> Color
190
+ ```
191
+
192
+ This color with another OKLCh chroma, its lightness, hue and alpha kept; a large
193
+ value gives the most vivid color of that lightness and hue.
194
+
195
+ | Parameter | Meaning |
196
+ |---|---|
197
+ | `value` | Chroma, ≥ 0 (0: a gray). |
198
+ | `gamut` | `"map"`: a result outside sRGB is mapped into it (its chroma lowered); `"error"`: it raises `ArgumentError`. |
199
+
200
+ ### with_hue
201
+
202
+ ```python
203
+ color.with_hue(degrees, gamut="map") -> Color
204
+ ```
205
+
206
+ This color with another OKLCh hue, its lightness, chroma and alpha kept.
207
+
208
+ | Parameter | Meaning |
209
+ |---|---|
210
+ | `degrees` | Hue in degrees (any number; wrapped into [0, 360)). |
211
+ | `gamut` | `"map"`: a result outside sRGB is mapped into it (its chroma lowered); `"error"`: it raises `ArgumentError`. |
212
+
213
+ ### mix
214
+
215
+ ```python
216
+ color.mix(other, t=0.5) -> Color
217
+ ```
218
+
219
+ A color between this one and `other`, interpolated in Oklab (alpha too).
220
+
221
+ | Parameter | Meaning |
222
+ |---|---|
223
+ | `other` | Any color vec_io accepts (a [`CMYK`](CMYK.md) by its RGB display). |
224
+ | `t` | Where between them, in [0, 1]: 0 this color, 1 `other`. |
225
+
226
+ ### blend_alpha
227
+
228
+ ```python
229
+ color.blend_alpha(background="#ffffff") -> Color
230
+ ```
231
+
232
+ This color drawn over `background`: its sRGB values mixed by its alpha, as PDF
233
+ and SVG viewers composite; opaque over an opaque background.
234
+
235
+ | Parameter | Meaning |
236
+ |---|---|
237
+ | `background` | Any color vec_io accepts (a [`CMYK`](CMYK.md) by its RGB display). |
238
+
239
+ ### nearest_from
240
+
241
+ ```python
242
+ color.nearest_from(colors, consider_alpha=False)
243
+ ```
244
+
245
+ The item of `colors` nearest to this color in Oklab, as given (a name stays a
246
+ name); the first of equals.
247
+
248
+ | Parameter | Meaning |
249
+ |---|---|
250
+ | `colors` | Colors vec_io accepts (CSS names are CSS's: `"red"` is `#ff0000`). |
251
+ | `consider_alpha` | Count the alpha difference in the distance too. |
252
+
253
+ ## See also
254
+
255
+ - [1. Conventions](../api.md#1-conventions)
@@ -1439,11 +1439,11 @@ class ColorArgumentTests(unittest.TestCase):
1439
1439
  for bad in ((255, 0, 0), (2, 0, 0), (0.5, -0.1, 0), (1, 0, 0, 2), (0, 0, float("nan"))):
1440
1440
  with self.assertRaisesRegex(ValueError, "rgb255"):
1441
1441
  to_rgba(bad)
1442
- self.assertEqual(vec_io.Color.rgb255(255, 0, 0, 0.5), (1.0, 0.0, 0.0, 0.5))
1442
+ self.assertEqual(vec_io.Color.from_rgb255(255, 0, 0, 0.5), (1.0, 0.0, 0.0, 0.5))
1443
1443
  with self.assertRaises(ValueError):
1444
- vec_io.Color.rgb255(256, 0, 0)
1444
+ vec_io.Color.from_rgb255(256, 0, 0)
1445
1445
  page = new_doc().add_page(100, 100)
1446
- page.fill = vec_io.Color.rgb255(128, 64, 0)
1446
+ page.fill = vec_io.Color.from_rgb255(128, 64, 0)
1447
1447
  page.draw_rect(0, 0, 1, 1, stroke=None)
1448
1448
  page.draw_segments([0], [0], [1], [1], stroke=[(1, 0, 0)])
1449
1449
  with self.assertRaises(ValueError):
@@ -1474,7 +1474,7 @@ class ColorArgumentTests(unittest.TestCase):
1474
1474
  def test_drawing_color_tuples(self):
1475
1475
  d = draw.Drawing(100, 100)
1476
1476
  d.append(draw.Rect(0, 0, 10, 10, fill=(1, 0, 0), stroke=(0, 0, 1, 0.5)))
1477
- d.append(draw.Lines([0, 1], [0, 1], stroke=vec_io.Color.rgb255(0, 128, 0)))
1477
+ d.append(draw.Lines([0, 1], [0, 1], stroke=vec_io.Color.from_rgb255(0, 128, 0)))
1478
1478
  out = d.write("svg").decode()
1479
1479
  self.assertIn('fill="#f00" stroke="#00f" stroke-opacity="0.5"', out)
1480
1480
  self.assertIn('stroke="#008000"', out)
@@ -0,0 +1,100 @@
1
+ """``vec_io.Color``: constructors, properties and the variants it makes."""
2
+
3
+ import unittest
4
+
5
+ import vec_io
6
+ from vec_io import Color
7
+
8
+
9
+ class ColorTest(unittest.TestCase):
10
+ def test_constructors(self):
11
+ self.assertEqual(Color.from_rgb255(255, 128, 0).hex, "#ff8000")
12
+ self.assertEqual(Color.from_hex("#f00"), (1.0, 0.0, 0.0, 1.0))
13
+ self.assertEqual(Color.from_hex("#ff000080").alpha, 128 / 255)
14
+ self.assertEqual(Color.from_hex("#F008").hex, "#ff000088")
15
+ for bad in ("f00", "#12345", "#ggg", 0xff0000):
16
+ with self.assertRaises(vec_io.ArgumentError):
17
+ Color.from_hex(bad)
18
+ with self.assertRaises(vec_io.ArgumentError):
19
+ Color.from_rgb255(256, 0, 0)
20
+ self.assertFalse(hasattr(Color, "rgb255") and callable(Color.rgb255))
21
+
22
+ def test_properties(self):
23
+ c = Color.from_hex("#3b82f6")
24
+ self.assertEqual((c.r, c.g, c.b, c.alpha), tuple(c))
25
+ self.assertEqual(c.rgb255, (59, 130, 246))
26
+ self.assertEqual(c.rgba255, (59, 130, 246, 255))
27
+ self.assertEqual(c.hex, "#3b82f6")
28
+ self.assertEqual(str(c), "#3b82f6")
29
+ self.assertTrue(repr(c).startswith("Color(0.23"))
30
+ self.assertEqual(Color(1, 0, 0, 0.5).hex, "#ff000080")
31
+ self.assertAlmostEqual(c.lightness, 0.6231, places=3)
32
+ self.assertAlmostEqual(c.chroma, 0.188, places=3)
33
+ self.assertAlmostEqual(c.hue, 259.81, places=1)
34
+ self.assertEqual(Color(0.5, 0.5, 0.5).hue, 0.0)
35
+ self.assertEqual(Color(1, 1, 1).luminance, 1.0)
36
+ self.assertAlmostEqual(Color(1, 0, 0).luminance, 0.2126)
37
+
38
+ def test_oklch(self):
39
+ c = Color.from_hex("#3b82f6")
40
+ self.assertEqual(Color.from_oklch(c.lightness, c.chroma, c.hue).hex, c.hex)
41
+ self.assertEqual(Color.from_oklch(c.lightness, c.chroma, c.hue + 360).hex, c.hex)
42
+ darker = c.with_lightness(0.4)
43
+ self.assertAlmostEqual(darker.lightness, 0.4, places=2)
44
+ self.assertAlmostEqual(darker.hue, c.hue, delta=5) # mapped: within a JND
45
+ turned = c.with_hue(c.hue + 180)
46
+ self.assertAlmostEqual(turned.lightness, c.lightness, delta=0.02)
47
+ self.assertAlmostEqual(turned.hue, (c.hue + 180) % 360, delta=5)
48
+ half = c.with_chroma(c.chroma / 2)
49
+ self.assertAlmostEqual(half.chroma, c.chroma / 2, places=3)
50
+ self.assertAlmostEqual(half.lightness, c.lightness, places=3)
51
+ vivid = c.with_chroma(1) # mapped: the most vivid of that hue
52
+ self.assertGreater(vivid.chroma, c.chroma)
53
+ self.assertLess(vivid.chroma, 1)
54
+ with self.assertRaises(vec_io.ArgumentError):
55
+ c.with_chroma(1, gamut="error")
56
+ with self.assertRaises(vec_io.ArgumentError):
57
+ c.with_lightness(1.5)
58
+ with self.assertRaises(vec_io.ArgumentError):
59
+ c.with_hue(10, gamut="clip")
60
+ gray = c.grayscale
61
+ self.assertAlmostEqual(gray.chroma, 0, places=6)
62
+ self.assertAlmostEqual(gray.lightness, c.lightness, places=3)
63
+ self.assertEqual(gray.r, gray.g)
64
+
65
+ def test_alpha(self):
66
+ c = Color(1, 0, 0, 0.5)
67
+ self.assertEqual(c.with_alpha(0.4).alpha, 0.4)
68
+ self.assertEqual(c.with_alpha(0.4, mode="keep").alpha, 0.5)
69
+ self.assertEqual(Color(1, 0, 0).with_alpha(0.4, mode="keep").alpha, 0.4)
70
+ self.assertEqual(c.with_alpha(0.4, mode="multiply").alpha, 0.2)
71
+ self.assertEqual(c.without_alpha().alpha, 1.0)
72
+ with self.assertRaises(vec_io.ArgumentError):
73
+ c.with_alpha(0.4, mode="add")
74
+ self.assertEqual(c.blend_alpha().hex, "#ff8080")
75
+ self.assertEqual(c.blend_alpha("black").hex, "#800000")
76
+ over = c.blend_alpha((0, 0, 1, 0.5))
77
+ self.assertAlmostEqual(over.alpha, 0.75)
78
+ self.assertEqual(Color(0, 0, 0, 0).blend_alpha("none"), (0.0, 0.0, 0.0, 0.0))
79
+
80
+ def test_mix_and_nearest(self):
81
+ c = Color.from_hex("#3b82f6")
82
+ self.assertEqual(c.mix("white", 0).hex, c.hex)
83
+ self.assertEqual(c.mix("white", 1).hex, "#ffffff")
84
+ self.assertEqual(c.mix("#ff000080", 1).hex, "#ff000080")
85
+ middle = c.mix("black")
86
+ self.assertAlmostEqual(middle.lightness, c.lightness / 2, places=2)
87
+ with self.assertRaises(vec_io.ArgumentError):
88
+ c.mix("white", 2)
89
+ self.assertEqual(c.nearest_from(["red", "navy", "#336699"]), "#336699")
90
+ self.assertEqual(c.nearest_from(["#3b82f6", "#3b82f6"]), "#3b82f6")
91
+ faint = Color(1, 0, 0, 0.1)
92
+ options = [Color(1, 0, 0), Color(0.9, 0, 0, 0.1)]
93
+ self.assertIs(faint.nearest_from(options), options[0])
94
+ self.assertIs(faint.nearest_from(options, consider_alpha=True), options[1])
95
+ with self.assertRaises(vec_io.ArgumentError):
96
+ c.nearest_from([])
97
+
98
+
99
+ if __name__ == "__main__":
100
+ unittest.main()
@@ -518,11 +518,11 @@ class SurfaceTest(unittest.TestCase):
518
518
  self.assertIn(f"`{name}", api)
519
519
 
520
520
  def test_color(self):
521
- self.assertEqual(vec_io.Color.rgb255(255, 0, 0, 0.5), (1.0, 0.0, 0.0, 0.5))
521
+ self.assertEqual(vec_io.Color.from_rgb255(255, 0, 0, 0.5), (1.0, 0.0, 0.0, 0.5))
522
522
  self.assertEqual(vec_io.Color(1, 0, 0).alpha, 1.0)
523
523
  self.assertNotIn("rgb255", vec_io.__all__)
524
524
  with self.assertRaises(ValueError):
525
- vec_io.Color.rgb255(256, 0, 0)
525
+ vec_io.Color.from_rgb255(256, 0, 0)
526
526
  with self.assertRaises(ValueError):
527
527
  vec_io.Color(2, 0, 0)
528
528
 
@@ -57,4 +57,4 @@ __all__ = ["convert", "SVGDocument", "open_pdf", "PDFFile", "PDFPage", "PageBoxe
57
57
  "NetworkWarning", "ImageWarning", "SVGWarning",
58
58
  "__version__"]
59
59
 
60
- __version__ = "0.7.2"
60
+ __version__ = "0.8.0"