1.0.55 • Published 7 days ago

x3d-image v1.0.55

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
7 days ago

x3d-image

NPM Version NPM Downloads DeepScan grade

Render image files from X3D.

Synopsis

You can run x3d-image without installing it using npx:

npx x3d-image [options]

Options

x3d-image interprets the following options when it is invoked:

-i file

Set input file.

-o file

Set output file.

-s WIDTHxHEIGHT

Set image size in pixels, default is '1280x720'.

-q quality

A Number between 0 and 1 indicating the image quality to be used when creating images using file formats that support lossy compression (such as JPEG).

-d delay

Wait the specified number of seconds before generating the image.

-a

Modify the current view so that all objects fit in view volume.

-v

Show version.

-h

Show help.

Supported Input File Types

EncodingFile ExtensionMIME Type
X3D XML.x3d, .x3dzmodel/x3d+xml
X3D JSON.x3dj, .x3djzmodel/x3d+json
X3D Classic VRML.x3dv, .x3dvzmodel/x3d+vrml
VRML.wrl, .wrzmodel/vrml
glTF.gltf, .glbmodel/gltf+json
Wavefront OBJ.objmodel/obj
STL.stlmodel/stl
PLY.plymodel/ply
SVG Document.svg, .svgzimage/svg+xml

Supported Output File Types

EncodingFile ExtensionMIME Type
PNG.pngimage/png
JPEG.jpg, .jpegimage/jpeg

Examples

Render an JPEG image from X3D with size 1600x900.

$ npx x3d-image -s 1600x900 -i file.x3d -o file.jpg

See Also

x3d-image is based on X_ITE, so check it out.

1.0.55

7 days ago

1.0.54

14 days ago

1.0.53

21 days ago

1.0.52

27 days ago

1.0.51

1 month ago

1.0.49

2 months ago

1.0.50

2 months ago

1.0.48

2 months ago

1.0.47

2 months ago

1.0.46

2 months ago

1.0.45

2 months ago

1.0.44

2 months ago

1.0.43

3 months ago

1.0.42

3 months ago

1.0.41

3 months ago

1.0.40

3 months ago

1.0.39

3 months ago

1.0.38

3 months ago

1.0.37

3 months ago

1.0.36

4 months ago

1.0.35

4 months ago

1.0.34

5 months ago

1.0.33

5 months ago

1.0.32

5 months ago

1.0.26

6 months ago

1.0.25

7 months ago

1.0.24

7 months ago

1.0.23

7 months ago

1.0.29

6 months ago

1.0.28

6 months ago

1.0.27

6 months ago

1.0.31

5 months ago

1.0.30

5 months ago

1.0.22

7 months ago

1.0.21

8 months ago

1.0.20

8 months ago

1.0.19

8 months ago

1.0.18

8 months ago

1.0.17

9 months ago

1.0.16

9 months ago

1.0.15

9 months ago

1.0.14

9 months ago

1.0.13

9 months ago

1.0.12

9 months ago

1.0.11

9 months ago

1.0.10

9 months ago

1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago