svg2img 0.2.2-aarch64-linux → 0.2.3-aarch64-linux

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e23c2c26b85deb3878044f45da94704cd94f5ccfb8eaf94577f44ee584a955e
4
- data.tar.gz: 1db26939cef2c58e0c54bd5d3bee1c7865bbcd482679cb07cb586338c23a4047
3
+ metadata.gz: ddaed3502945d0c23f2e4016221825b8eb22b961b196104454d89a18a4051c3f
4
+ data.tar.gz: 10fda8c51c5f13978571ac530328241c832f09e46a80cfa9084acfc438cdc840
5
5
  SHA512:
6
- metadata.gz: 3317958439267e43429b6fd73c4ae03050d04f1905f842cb514798464f7fe3fa271930dd76abafb4bf8d5158ece1d49670d9c381989a6934b55cc085ace0924d
7
- data.tar.gz: 156a18f3dd5ce39dccbbdf85e6d2e415b3b18a7ee60c0dcfd0ff79979460eb1b81a896142f04c4aaa373810626764fb596e15bff0610dc1039706d9b7aa1e188
6
+ metadata.gz: 5a75b446129d86b49189167a29c0db8d5ed866f1d6fe334e0d93a50abbe926830ad76f15dab1d165dc1f8417a0be27346e53af5bd126366df9e943406edc03b5
7
+ data.tar.gz: 26b44df9801a86642b4861de42c43cded391c5ab6750b17cf2a24d8623f6ada0dcedfa791540858f80839b469fa553d6881ad7dbe1b3f516864a26039a3112bf
data/README.md CHANGED
@@ -73,6 +73,7 @@ send_data(png_data, type: 'image/png', disposition: 'inline')
73
73
  - `format` - output format, one of `:png`, `:jpg`, `:webp`, `:gif`
74
74
  - `output_path` - path to the output image. If not provided, a temporary file will be created and the path to it will be returned.
75
75
  - `size` - size of the output image as a proc that receives the width and height of the SVG and returns an array with the width and height of the output image. If the provides size has a different aspect ratio than the SVG, the image will be resized to fit in the center of the provided size. If not provided, the output image will have the same size as the SVG.
76
+ - `super_sampling` - supersample factor. The output image will be rendered `super_sampling` times larger than the SVG and then resized to the desired size. This can be used to improve the quality of the output image. Default is 2. Must be a power of 2. 1 means no super sampling.
76
77
 
77
78
  ## Development
78
79
 
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Svg2Img
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svg2img
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Orvar Segerström
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-17 00:00:00.000000000 Z
11
+ date: 2024-08-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: