| Table of Contents ▸ List of Commands ▸ Input / Output ▸ compress_to_keypoints | ◀ command | createdir ▶ | 
compress_to_keypoints
Arguments:
- _method,_max_keypoints>=0,_err_avg[%]>=0,_err_max[%]>=0,_"err_command"
 
Description:
Compress each of the selected images into a set of keypoints that can be further decompressed using command decompress_from_keypoints.Beware: This type of compression is effective only for images with very smooth content.
method can be { 0:PDE | 1:RBF }. Add 2 to method to skip the point removal step.
max_keypoints is the maximal number of keypoints generated by the compression method. If max_keypoints<0, the removal step is not done when number of maximal keypoints has been reached. max_keypoints=0 means no limits.
err_avg is the desired average compression error.
err_max is the desired pointwise max compression error.
err_command is the code of a command that inputs the two images [reference] and [compressed] and compute a single error map as a last image.
Default values:
method=3, max_keypoints=0, err_avg=1%, err_max=5% and err_command=-. [0] norm.


  
                Home
  
                Download
  
                News
  
                    Mastodon
  
                    Bluesky
  
                    X
  
                    Summary - 17 Years
  
                    Summary - 16 Years
  
                    Summary - 15 Years
  
                    Summary - 13 Years
  
                    Summary - 11 Years
  
                    Summary - 10 Years
  
                Resources
  
                    Technical Reference
  
                    Scripting Tutorial
  
                    Video Tutorials
  
                    Wiki Pages
  
                    Image Gallery
  
                    Color Presets
  
                    Using libgmic
  
                    G'MIC Online
  
                Community
  
                    Discussion Forum (Pixls.us)
  
                    GimpChat
  
                    IRC
  
                Report Issue