@digipair/skill-pdf2pic 0.85.0
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.
- package/index.cjs.d.ts +1 -0
- package/index.cjs.js +27689 -0
- package/index.d.ts +1 -0
- package/index.esm.js +27684 -0
- package/libs/skill-pdf2pic/src/index.d.ts +1 -0
- package/libs/skill-pdf2pic/src/lib/skill-pdf2pic.d.ts +2 -0
- package/package.json +14 -0
- package/schema.fr.json +61 -0
- package/schema.json +61 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/skill-pdf2pic';
|
package/package.json
ADDED
package/schema.fr.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-pdf2pic",
|
|
5
|
+
"summary": "Conversion de PDF en image",
|
|
6
|
+
"description": "Conversion de PDF en image",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "đź“•"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/convert": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["service"],
|
|
14
|
+
"summary": "Convertir une page PDF en image",
|
|
15
|
+
"description": "Convertit une page d’un fichier PDF en image encodée base64.",
|
|
16
|
+
"parameters": [
|
|
17
|
+
{
|
|
18
|
+
"name": "file",
|
|
19
|
+
"summary": "Fichier",
|
|
20
|
+
"required": true,
|
|
21
|
+
"description": "Fichier PDF Ă convertir",
|
|
22
|
+
"schema": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "page",
|
|
28
|
+
"summary": "Numéro de page",
|
|
29
|
+
"required": false,
|
|
30
|
+
"description": "Page Ă convertir",
|
|
31
|
+
"schema": {
|
|
32
|
+
"type": "number"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "format",
|
|
37
|
+
"summary": "Format de sortie",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "Format de l’image générée",
|
|
40
|
+
"schema": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "density",
|
|
46
|
+
"summary": "Densité (DPI)",
|
|
47
|
+
"required": false,
|
|
48
|
+
"description": "Résolution en DPI (points par pouce). Par défaut : 72.",
|
|
49
|
+
"schema": {
|
|
50
|
+
"type": "number"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"x-events": []
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"components": {
|
|
59
|
+
"schemas": {}
|
|
60
|
+
}
|
|
61
|
+
}
|
package/schema.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-pdf2pic",
|
|
5
|
+
"summary": "PDF to image conversion",
|
|
6
|
+
"description": "Convert PDF files to images",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "đź“•"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/convert": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["service"],
|
|
14
|
+
"summary": "Convert a PDF page to an image",
|
|
15
|
+
"description": "Converts a page from a PDF file to a base64-encoded image.",
|
|
16
|
+
"parameters": [
|
|
17
|
+
{
|
|
18
|
+
"name": "file",
|
|
19
|
+
"summary": "File",
|
|
20
|
+
"required": true,
|
|
21
|
+
"description": "PDF file to convert",
|
|
22
|
+
"schema": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "page",
|
|
28
|
+
"summary": "Page number",
|
|
29
|
+
"required": false,
|
|
30
|
+
"description": "The page number to convert",
|
|
31
|
+
"schema": {
|
|
32
|
+
"type": "number"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "format",
|
|
37
|
+
"summary": "Output format",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "The format of the generated image",
|
|
40
|
+
"schema": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "density",
|
|
46
|
+
"summary": "Density (DPI)",
|
|
47
|
+
"required": false,
|
|
48
|
+
"description": "Image resolution in DPI (dots per inch). Default is 72.",
|
|
49
|
+
"schema": {
|
|
50
|
+
"type": "number"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"x-events": []
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"components": {
|
|
59
|
+
"schemas": {}
|
|
60
|
+
}
|
|
61
|
+
}
|