dynamicpdf_api 1.0.1 → 1.1.1
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 +4 -4
- data/lib/ruby_client/Elements/AztecBarcodeElement.rb +6 -10
- data/lib/ruby_client/Elements/Code11BarcodeElement.rb +3 -5
- data/lib/ruby_client/Elements/Code128BarcodeElement.rb +7 -11
- data/lib/ruby_client/Elements/Code25BarcodeElement.rb +3 -5
- data/lib/ruby_client/Elements/Code39BarcodeElement.rb +4 -5
- data/lib/ruby_client/Elements/Code93BarcodeElement.rb +3 -5
- data/lib/ruby_client/Elements/DataMatrixBarcodeElement.rb +4 -7
- data/lib/ruby_client/Elements/Element.rb +2 -2
- data/lib/ruby_client/Elements/Gs1DataBarBarcodeElement.rb +3 -5
- data/lib/ruby_client/Elements/Iata25BarcodeElement.rb +5 -8
- data/lib/ruby_client/Elements/MsiBarcodeElement.rb +3 -5
- data/lib/ruby_client/Elements/Pdf417BarcodeElement.rb +6 -10
- data/lib/ruby_client/Elements/QrCodeElement.rb +2 -4
- data/lib/ruby_client/Elements/StackedGs1DataBarBarcodeElement.rb +3 -5
- data/lib/ruby_client/Elements/TextBarcodeElement.rb +1 -1
- data/lib/ruby_client/FormField.rb +4 -12
- data/lib/ruby_client/Imaging/BmpColorFormat.rb +20 -0
- data/lib/ruby_client/Imaging/BmpImageFormat.rb +32 -0
- data/lib/ruby_client/Imaging/BmpMonochromeColorFormat.rb +37 -0
- data/lib/ruby_client/Imaging/ColorFormat.rb +18 -0
- data/lib/ruby_client/Imaging/ColorFormatType.rb +31 -0
- data/lib/ruby_client/Imaging/CompressionType.rb +16 -0
- data/lib/ruby_client/Imaging/DitheringAlgorithm.rb +21 -0
- data/lib/ruby_client/Imaging/DpiImageSize.rb +36 -0
- data/lib/ruby_client/Imaging/FixedImageSize.rb +39 -0
- data/lib/ruby_client/Imaging/GifImageFormat.rb +33 -0
- data/lib/ruby_client/Imaging/ImageFormat.rb +31 -0
- data/lib/ruby_client/Imaging/ImageFormatType.rb +31 -0
- data/lib/ruby_client/Imaging/ImageSize.rb +26 -0
- data/lib/ruby_client/Imaging/ImageSizeType.rb +26 -0
- data/lib/ruby_client/Imaging/ImageSizeUnit.rb +21 -0
- data/lib/ruby_client/Imaging/JpegImageFormat.rb +31 -0
- data/lib/ruby_client/Imaging/MaxImageSize.rb +38 -0
- data/lib/ruby_client/Imaging/PdfImage.rb +210 -0
- data/lib/ruby_client/Imaging/PdfImageResponse.rb +40 -0
- data/lib/ruby_client/Imaging/PercentageImageSize.rb +35 -0
- data/lib/ruby_client/Imaging/PngColorFormat.rb +18 -0
- data/lib/ruby_client/Imaging/PngImageFormat.rb +33 -0
- data/lib/ruby_client/Imaging/PngIndexedColorFormat.rb +32 -0
- data/lib/ruby_client/Imaging/PngMonochromeColorFormat.rb +23 -0
- data/lib/ruby_client/Imaging/QuantizationAlgorithm.rb +26 -0
- data/lib/ruby_client/Imaging/TiffColorFormat.rb +17 -0
- data/lib/ruby_client/Imaging/TiffImageFormat.rb +34 -0
- data/lib/ruby_client/Imaging/TiffIndexedColorFormat.rb +37 -0
- data/lib/ruby_client/Imaging/TiffMonochromeColorFormat.rb +40 -0
- data/lib/ruby_client/MergeOptions.rb +30 -30
- data/lib/ruby_client/Outline.rb +0 -2
- data/lib/ruby_client/Pdf.rb +22 -3
- data/lib/ruby_client/PdfInput.rb +1 -1
- data/lib/ruby_client/PdfInstructions.rb +3 -3
- data/lib/ruby_client/version.rb +1 -1
- data/lib/ruby_client.rb +29 -0
- metadata +31 -2
@@ -0,0 +1,32 @@
|
|
1
|
+
module DynamicPDFApi
|
2
|
+
require_relative 'PngColorFormat'
|
3
|
+
require_relative 'ColorFormatType'
|
4
|
+
|
5
|
+
#
|
6
|
+
# Represents indexed color format for PNG.
|
7
|
+
#
|
8
|
+
class PngIndexedColorFormat < PngColorFormat
|
9
|
+
attr_accessor :quantization_algorithm # Gets or sets the QuantizationAlgorithm for PNG.
|
10
|
+
attr_accessor :dithering_percent # Gets or sets the dithering percentage for PNG.
|
11
|
+
attr_accessor :dithering_algorithm # Gets or sets the DitheringAlgorithm for PNG.
|
12
|
+
|
13
|
+
#
|
14
|
+
# Initializes a new instance of the PngIndexedColorFormat class with indexed color format type.
|
15
|
+
#
|
16
|
+
def initialize
|
17
|
+
super(ColorFormatType::Indexed)
|
18
|
+
@quantization_algorithm = nil
|
19
|
+
@dithering_percent = nil
|
20
|
+
@dithering_algorithm = nil
|
21
|
+
end
|
22
|
+
|
23
|
+
def to_json(_options = {})
|
24
|
+
json_array = {}
|
25
|
+
json_array['quantizationAlgorithm'] = @quantization_algorithm
|
26
|
+
json_array['ditheringPercent'] = @dithering_percent
|
27
|
+
json_array['ditheringAlgorithm'] = @dithering_algorithm
|
28
|
+
JSON.pretty_generate(json_array)
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module DynamicPDFApi
|
2
|
+
require_relative 'PngColorFormat'
|
3
|
+
require_relative 'ColorFormatType'
|
4
|
+
|
5
|
+
#
|
6
|
+
# Represents monochrome color format for PNG with black threshold.
|
7
|
+
#
|
8
|
+
class PngMonochromeColorFormat < PngColorFormat
|
9
|
+
attr_accessor :black_threshold # Gets or sets the black threshold for monochrome PNG, ranges from 0-255.
|
10
|
+
attr_accessor :dithering_percent # Gets or sets the dithering percentage for PNG.
|
11
|
+
attr_accessor :dithering_algorithm # Gets or sets the DitheringAlgorithm for PNG.
|
12
|
+
|
13
|
+
#
|
14
|
+
# Initializes a new instance of the PngMonochromeColorFormat class with monochrome color format type.
|
15
|
+
#
|
16
|
+
def initialize
|
17
|
+
super(ColorFormatType::Monochrome)
|
18
|
+
@black_threshold = nil
|
19
|
+
@dithering_percent = nil
|
20
|
+
@dithering_algorithm = nil
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module DynamicPDFApi
|
2
|
+
#
|
3
|
+
# Enum representing quantization algorithms.
|
4
|
+
#
|
5
|
+
class QuantizationAlgorithm
|
6
|
+
#
|
7
|
+
# Octree quantization algorithm.
|
8
|
+
#
|
9
|
+
Octree = :Octree.freeze
|
10
|
+
|
11
|
+
#
|
12
|
+
# Web-safe color quantization algorithm.
|
13
|
+
#
|
14
|
+
WebSafe = :WebSafe.freeze
|
15
|
+
|
16
|
+
#
|
17
|
+
# Werner quantization algorithm.
|
18
|
+
#
|
19
|
+
Werner = :Werner.freeze
|
20
|
+
|
21
|
+
#
|
22
|
+
# Wu quantization algorithm.
|
23
|
+
#
|
24
|
+
WU = :WU.freeze
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require_relative "ColorFormat"
|
2
|
+
|
3
|
+
module DynamicPDFApi
|
4
|
+
#
|
5
|
+
# Base class for TIFF color formats and used for RGB and Grayscale color formats.
|
6
|
+
#
|
7
|
+
class TiffColorFormat < ColorFormat
|
8
|
+
#
|
9
|
+
# Initializes a new instance of the TiffColorFormat class with the specified color format type.
|
10
|
+
#
|
11
|
+
# @param type [ColorFormatType] The color format type.
|
12
|
+
#
|
13
|
+
def initialize(type)
|
14
|
+
@type = type
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
require_relative "ImageFormat"
|
2
|
+
require_relative "ImageFormatType"
|
3
|
+
|
4
|
+
module DynamicPDFApi
|
5
|
+
#
|
6
|
+
# Represents TIFF image format with color format.
|
7
|
+
#
|
8
|
+
class TiffImageFormat < ImageFormat
|
9
|
+
attr_accessor :multi_page # Gets or sets a value indicating whether the TIFF image format supports multiple pages.
|
10
|
+
attr_accessor :color_format # Gets or sets the color format for TIFF, TiffColorFormat.
|
11
|
+
|
12
|
+
#
|
13
|
+
# Initializes a new instance of the TiffImageFormat class.
|
14
|
+
#
|
15
|
+
def initialize
|
16
|
+
super(ImageFormatType::TIFF)
|
17
|
+
@multi_page = false
|
18
|
+
@color_format = nil
|
19
|
+
end
|
20
|
+
|
21
|
+
#
|
22
|
+
# Returns a JSON representation of the TiffImageFormat object.
|
23
|
+
#
|
24
|
+
# @return [String] JSON string representing the TiffImageFormat object.
|
25
|
+
#
|
26
|
+
def to_json(_options = {})
|
27
|
+
json_array = {}
|
28
|
+
json_array['multiPage'] = @multi_page
|
29
|
+
json_array['colorFormat'] = @color_format # Assuming TiffColorFormat has implemented to_json method.
|
30
|
+
|
31
|
+
JSON.pretty_generate(json_array)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
require_relative "TiffColorFormat"
|
2
|
+
require_relative "ColorFormatType"
|
3
|
+
|
4
|
+
module DynamicPDFApi
|
5
|
+
#
|
6
|
+
# Represents indexed color format for TIFF.
|
7
|
+
#
|
8
|
+
class TiffIndexedColorFormat < TiffColorFormat
|
9
|
+
attr_accessor :quantization_algorithm # Gets or sets the QuantizationAlgorithm for TIFF.
|
10
|
+
attr_accessor :dithering_percent # Gets or sets the dithering percentage for TIFF.
|
11
|
+
attr_accessor :dithering_algorithm # Gets or sets the DitheringAlgorithm for TIFF.
|
12
|
+
|
13
|
+
#
|
14
|
+
# Initializes a new instance of the TiffIndexedColorFormat class with indexed color format type.
|
15
|
+
#
|
16
|
+
def initialize
|
17
|
+
super(ColorFormatType::Indexed)
|
18
|
+
@quantization_algorithm = nil
|
19
|
+
@dithering_percent = nil
|
20
|
+
@dithering_algorithm = nil
|
21
|
+
end
|
22
|
+
|
23
|
+
#
|
24
|
+
# Returns a JSON representation of the TiffIndexedColorFormat object.
|
25
|
+
#
|
26
|
+
# @return [String] JSON string representing the TiffIndexedColorFormat object.
|
27
|
+
#
|
28
|
+
def to_json(_options = {})
|
29
|
+
json_array = {}
|
30
|
+
json_array['quantizationAlgorithm'] = @quantization_algorithm
|
31
|
+
json_array['ditheringPercent'] = @dithering_percent
|
32
|
+
json_array['ditheringAlgorithm'] = @dithering_algorithm
|
33
|
+
|
34
|
+
JSON.pretty_generate(json_array)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require_relative "TiffColorFormat"
|
2
|
+
require_relative "ColorFormatType"
|
3
|
+
|
4
|
+
module DynamicPDFApi
|
5
|
+
#
|
6
|
+
# Represents monochrome color format for TIFF with black threshold and compression type.
|
7
|
+
#
|
8
|
+
class TiffMonochromeColorFormat < TiffColorFormat
|
9
|
+
attr_accessor :black_threshold # Gets or sets the black threshold for monochrome TIFF.
|
10
|
+
attr_accessor :compression_type # Gets or sets the CompressionType for monochrome TIFF.
|
11
|
+
attr_accessor :dithering_percent # Gets or sets the dithering percentage for TIFF.
|
12
|
+
attr_accessor :dithering_algorithm # Gets or sets the DitheringAlgorithm for TIFF.
|
13
|
+
|
14
|
+
#
|
15
|
+
# Initializes a new instance of the TiffMonochromeColorFormat class with monochrome color format type.
|
16
|
+
#
|
17
|
+
def initialize
|
18
|
+
super(ColorFormatType::Monochrome)
|
19
|
+
@black_threshold = nil
|
20
|
+
@compression_type = nil
|
21
|
+
@dithering_percent = nil
|
22
|
+
@dithering_algorithm = nil
|
23
|
+
end
|
24
|
+
|
25
|
+
#
|
26
|
+
# Returns a JSON representation of the TiffMonochromeColorFormat object.
|
27
|
+
#
|
28
|
+
# @return [String] JSON string representing the TiffMonochromeColorFormat object.
|
29
|
+
#
|
30
|
+
def to_json(_options = {})
|
31
|
+
json_array = {}
|
32
|
+
json_array['blackThreshold'] = @black_threshold
|
33
|
+
json_array['compressionType'] = @compression_type
|
34
|
+
json_array['ditheringPercent'] = @dithering_percent
|
35
|
+
json_array['ditheringAlgorithm'] = @dithering_algorithm
|
36
|
+
|
37
|
+
JSON.pretty_generate(json_array)
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -4,21 +4,21 @@ module DynamicPDFApi
|
|
4
4
|
#
|
5
5
|
class MergeOptions
|
6
6
|
def initialize
|
7
|
-
@document_info =
|
8
|
-
@document_java_script =
|
9
|
-
@document_properties =
|
10
|
-
@embedded_files =
|
11
|
-
@form_fields =
|
12
|
-
@forms_xfa_data =
|
13
|
-
@logical_structure =
|
14
|
-
@open_action =
|
15
|
-
@optional_content_info =
|
16
|
-
@out_lines =
|
17
|
-
@output_intent =
|
18
|
-
@page_annotations =
|
19
|
-
@page_labels_and_sections =
|
20
|
-
@root_form_field =
|
21
|
-
@xmp_metadata =
|
7
|
+
@document_info = nil
|
8
|
+
@document_java_script = nil
|
9
|
+
@document_properties = nil
|
10
|
+
@embedded_files = nil
|
11
|
+
@form_fields = nil
|
12
|
+
@forms_xfa_data = nil
|
13
|
+
@logical_structure = nil
|
14
|
+
@open_action = nil
|
15
|
+
@optional_content_info = nil
|
16
|
+
@out_lines = nil
|
17
|
+
@output_intent = nil
|
18
|
+
@page_annotations = nil
|
19
|
+
@page_labels_and_sections = nil
|
20
|
+
@root_form_field = nil
|
21
|
+
@xmp_metadata = nil
|
22
22
|
end
|
23
23
|
|
24
24
|
#
|
@@ -99,35 +99,35 @@ module DynamicPDFApi
|
|
99
99
|
def to_json(_options = {})
|
100
100
|
json_array = {}
|
101
101
|
|
102
|
-
json_array['documentInfo'] = @document_info
|
102
|
+
json_array['documentInfo'] = @document_info unless @document_info.nil?
|
103
103
|
|
104
|
-
json_array['documentJavaScript'] = @document_java_script
|
104
|
+
json_array['documentJavaScript'] = @document_java_script unless @document_java_script.nil?
|
105
105
|
|
106
|
-
json_array['documentProperties'] = @document_properties
|
106
|
+
json_array['documentProperties'] = @document_properties unless @document_properties.nil?
|
107
107
|
|
108
|
-
json_array['embeddedFiles'] = @embedded_files
|
108
|
+
json_array['embeddedFiles'] = @embedded_files unless @embedded_files.nil?
|
109
109
|
|
110
|
-
json_array['formFields'] = @form_fields
|
110
|
+
json_array['formFields'] = @form_fields unless @form_fields.nil?
|
111
111
|
|
112
|
-
json_array['formsXfaData'] = @forms_xfa_data
|
112
|
+
json_array['formsXfaData'] = @forms_xfa_data unless @forms_xfa_data.nil?
|
113
113
|
|
114
|
-
json_array['logicalStructure'] = @logical_structure
|
114
|
+
json_array['logicalStructure'] = @logical_structure unless @logical_structure.nil?
|
115
115
|
|
116
|
-
json_array['openAction'] = @open_action
|
116
|
+
json_array['openAction'] = @open_action unless @open_action.nil?
|
117
117
|
|
118
|
-
json_array['optionalContentInfo'] = @optional_content_info
|
118
|
+
json_array['optionalContentInfo'] = @optional_content_info unless @optional_content_info.nil?
|
119
119
|
|
120
|
-
json_array['outlines'] = @out_lines
|
120
|
+
json_array['outlines'] = @out_lines unless @out_lines.nil?
|
121
121
|
|
122
|
-
json_array['outputIntent'] = @output_intent
|
122
|
+
json_array['outputIntent'] = @output_intent unless @output_intent.nil?
|
123
123
|
|
124
|
-
json_array['pageAnnotations'] = @page_annotations
|
124
|
+
json_array['pageAnnotations'] = @page_annotations unless @page_annotations.nil?
|
125
125
|
|
126
|
-
json_array['pageLabelsAndSections'] = @page_labels_and_sections
|
126
|
+
json_array['pageLabelsAndSections'] = @page_labels_and_sections unless @page_labels_and_sections.nil?
|
127
127
|
|
128
|
-
json_array['rootFormField'] = @root_form_field
|
128
|
+
json_array['rootFormField'] = @root_form_field unless @root_form_field.nil?
|
129
129
|
|
130
|
-
json_array['xmpMetadata'] = @xmp_metadata
|
130
|
+
json_array['xmpMetadata'] = @xmp_metadata unless @xmp_metadata.nil?
|
131
131
|
|
132
132
|
JSON.pretty_generate(json_array)
|
133
133
|
end
|
data/lib/ruby_client/Outline.rb
CHANGED
data/lib/ruby_client/Pdf.rb
CHANGED
@@ -51,11 +51,30 @@ module DynamicPDFApi
|
|
51
51
|
# <param name="resourceName">The name of the resource.
|
52
52
|
def add_additional_resource(resourcePath, resourceName = nil)
|
53
53
|
if (resourceName == nil)
|
54
|
-
resourceName =
|
54
|
+
resourceName = File.basename(resourcePath)
|
55
55
|
end
|
56
|
+
additional_resource = AdditionalResource.new(resourcePath, resourceName)
|
57
|
+
@resources[resourceName] = additional_resource
|
58
|
+
# @additionalResources << additional_resource
|
59
|
+
end
|
56
60
|
|
57
|
-
|
58
|
-
|
61
|
+
def add_additional_resource_with_resourcedata(resourceData, additionalResourceType, resourceName)
|
62
|
+
type = ResourceType::PDF
|
63
|
+
case (additionalResourceType)
|
64
|
+
|
65
|
+
when AdditionalResourceType::FONT
|
66
|
+
type = ResourceType::FONT
|
67
|
+
when AdditionalResourceType::IMAGE
|
68
|
+
type = ResourceType::IMAGE
|
69
|
+
when AdditionalResourceType::PDF
|
70
|
+
type = ResourceType::PDF
|
71
|
+
when AdditionalResourceType::HTML
|
72
|
+
type = ResourceType::HTML
|
73
|
+
else
|
74
|
+
raise 'This type of resource not allowed'
|
75
|
+
end
|
76
|
+
additional_resource = AdditionalResource.new(resourceData, resourceName, type)
|
77
|
+
@additionalResources << additional_resource
|
59
78
|
end
|
60
79
|
|
61
80
|
attr_accessor :instructions
|
data/lib/ruby_client/PdfInput.rb
CHANGED
@@ -18,7 +18,7 @@ module DynamicPDFApi
|
|
18
18
|
@_form_fields = []
|
19
19
|
@_templates = {}
|
20
20
|
@_fonts = {}
|
21
|
-
@
|
21
|
+
@_out_lines = []
|
22
22
|
@_inputs = []
|
23
23
|
@_security = nil
|
24
24
|
@_flatten_all_form_fields = nil
|
@@ -84,8 +84,8 @@ module DynamicPDFApi
|
|
84
84
|
json_array['formFields'] = @_form_fields
|
85
85
|
end
|
86
86
|
|
87
|
-
if(
|
88
|
-
json_array['outlines'] = @
|
87
|
+
if(!@_out_lines._out_lines.empty?)
|
88
|
+
json_array['outlines'] = @_out_lines
|
89
89
|
end
|
90
90
|
if(indented)
|
91
91
|
JSON.pretty_generate(json_array)
|
data/lib/ruby_client/version.rb
CHANGED
data/lib/ruby_client.rb
CHANGED
@@ -115,6 +115,35 @@ require_relative "ruby_client/Elements/StackedGs1DataBarType.rb"
|
|
115
115
|
require_relative "ruby_client/Elements/TextBarcodeElement.rb"
|
116
116
|
require_relative "ruby_client/Elements/TextElement.rb"
|
117
117
|
require_relative "ruby_client/Elements/ValueType.rb"
|
118
|
+
require_relative "ruby_client/Imaging/ColorFormatType.rb"
|
119
|
+
require_relative "ruby_client/Imaging/CompressionType.rb"
|
120
|
+
require_relative "ruby_client/Imaging/DitheringAlgorithm.rb"
|
121
|
+
require_relative "ruby_client/Imaging/DpiImageSize.rb"
|
122
|
+
require_relative "ruby_client/Imaging/FixedImageSize.rb"
|
123
|
+
require_relative "ruby_client/Imaging/GifImageFormat.rb"
|
124
|
+
require_relative "ruby_client/Imaging/ImageFormat.rb"
|
125
|
+
require_relative "ruby_client/Imaging/ImageFormatType.rb"
|
126
|
+
require_relative "ruby_client/Imaging/ImageSize.rb"
|
127
|
+
require_relative "ruby_client/Imaging/ImageSizeType.rb"
|
128
|
+
require_relative "ruby_client/Imaging/ImageSizeUnit.rb"
|
129
|
+
require_relative "ruby_client/Imaging/JpegImageFormat.rb"
|
130
|
+
require_relative "ruby_client/Imaging/MaxImageSize.rb"
|
131
|
+
require_relative "ruby_client/Imaging/PercentageImageSize.rb"
|
132
|
+
require_relative "ruby_client/Imaging/PngColorFormat.rb"
|
133
|
+
require_relative "ruby_client/Imaging/PngImageFormat.rb"
|
134
|
+
require_relative "ruby_client/Imaging/PngIndexedColorFormat.rb"
|
135
|
+
require_relative "ruby_client/Imaging/PngMonochromeColorFormat.rb"
|
136
|
+
require_relative "ruby_client/Imaging/QuantizationAlgorithm.rb"
|
137
|
+
require_relative "ruby_client/Imaging/PdfImage.rb"
|
138
|
+
require_relative "ruby_client/Imaging/PdfImageResponse.rb"
|
139
|
+
require_relative "ruby_client/Imaging/TiffColorFormat.rb"
|
140
|
+
require_relative "ruby_client/Imaging/TiffImageFormat.rb"
|
141
|
+
require_relative "ruby_client/Imaging/TiffIndexedColorFormat.rb"
|
142
|
+
require_relative "ruby_client/Imaging/TiffMonochromeColorFormat.rb"
|
143
|
+
require_relative "ruby_client/Imaging/BmpColorFormat.rb"
|
144
|
+
require_relative "ruby_client/Imaging/BmpImageFormat.rb"
|
145
|
+
require_relative "ruby_client/Imaging/BmpMonochromeColorFormat.rb"
|
146
|
+
require_relative "ruby_client/Imaging/ColorFormat.rb"
|
118
147
|
|
119
148
|
module RubyClient
|
120
149
|
class Error < StandardError; end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dynamicpdf_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dynamicpdf
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A Ruby Client API that uses the DynamicPDF API to create, merge, split,
|
14
14
|
form fill, stamp, secure/encrypt PDF documents and convert word/Excel files to PDF.
|
@@ -91,6 +91,35 @@ files:
|
|
91
91
|
- lib/ruby_client/ImageInput.rb
|
92
92
|
- lib/ruby_client/ImageResource.rb
|
93
93
|
- lib/ruby_client/ImageResponse.rb
|
94
|
+
- lib/ruby_client/Imaging/BmpColorFormat.rb
|
95
|
+
- lib/ruby_client/Imaging/BmpImageFormat.rb
|
96
|
+
- lib/ruby_client/Imaging/BmpMonochromeColorFormat.rb
|
97
|
+
- lib/ruby_client/Imaging/ColorFormat.rb
|
98
|
+
- lib/ruby_client/Imaging/ColorFormatType.rb
|
99
|
+
- lib/ruby_client/Imaging/CompressionType.rb
|
100
|
+
- lib/ruby_client/Imaging/DitheringAlgorithm.rb
|
101
|
+
- lib/ruby_client/Imaging/DpiImageSize.rb
|
102
|
+
- lib/ruby_client/Imaging/FixedImageSize.rb
|
103
|
+
- lib/ruby_client/Imaging/GifImageFormat.rb
|
104
|
+
- lib/ruby_client/Imaging/ImageFormat.rb
|
105
|
+
- lib/ruby_client/Imaging/ImageFormatType.rb
|
106
|
+
- lib/ruby_client/Imaging/ImageSize.rb
|
107
|
+
- lib/ruby_client/Imaging/ImageSizeType.rb
|
108
|
+
- lib/ruby_client/Imaging/ImageSizeUnit.rb
|
109
|
+
- lib/ruby_client/Imaging/JpegImageFormat.rb
|
110
|
+
- lib/ruby_client/Imaging/MaxImageSize.rb
|
111
|
+
- lib/ruby_client/Imaging/PdfImage.rb
|
112
|
+
- lib/ruby_client/Imaging/PdfImageResponse.rb
|
113
|
+
- lib/ruby_client/Imaging/PercentageImageSize.rb
|
114
|
+
- lib/ruby_client/Imaging/PngColorFormat.rb
|
115
|
+
- lib/ruby_client/Imaging/PngImageFormat.rb
|
116
|
+
- lib/ruby_client/Imaging/PngIndexedColorFormat.rb
|
117
|
+
- lib/ruby_client/Imaging/PngMonochromeColorFormat.rb
|
118
|
+
- lib/ruby_client/Imaging/QuantizationAlgorithm.rb
|
119
|
+
- lib/ruby_client/Imaging/TiffColorFormat.rb
|
120
|
+
- lib/ruby_client/Imaging/TiffImageFormat.rb
|
121
|
+
- lib/ruby_client/Imaging/TiffIndexedColorFormat.rb
|
122
|
+
- lib/ruby_client/Imaging/TiffMonochromeColorFormat.rb
|
94
123
|
- lib/ruby_client/Input.rb
|
95
124
|
- lib/ruby_client/InputType.rb
|
96
125
|
- lib/ruby_client/JsonResponse.rb
|