JPEG
Apply JPEG compression to the image.
Node Data | |
|---|---|
Display name | |
JPEG | |
Internal name | |
Node_JPEG | |
Inheritances | |
| Node_Processor | |
| Node_JPEG | |
Inputs | |
Node_JPEG | |
surface |
Surface In |
surface |
Mask |
slider |
Mix |
toggle |
Channel |
int |
Patch Size |
float |
Compression |
int |
Reconstruction |
enum |
Transformation |
rotation |
Phase |
bool |
Deconstruct Only |
bool |
Reconstruct All |
Outputs | |
Node_JPEG | |
surface |
Surface Out |
Attributes | |
| Color Depth | |
Apply JPEG compression to the image (Discrete cosine transform).
Properties
Patch Size
Size of the compression block in pixel.
Compression
Compression level.
Reconstruct All
Whether to reconstruct with the same compression level.
Reconstruction
Reconstruction level. If setting the less than the compression level, some parts of the image will be lost.
Transformation
Change the transformation equation.
Phase
Apply phase shift to the transformed data.
Deconstruct Only
Return the compressed data without reconstructing the image.
Related Links
- Base Code: /scripts/node_jpeg/node_jpeg.gml
- Shader [sh_jpeg_dct]: /shaders/sh_jpeg_dct/sh_jpeg_dct.fsh
- Shader [sh_jpeg_recons]: /shaders/sh_jpeg_recons/sh_jpeg_recons.fsh