~wjaguar/mtpaint/trunk

« back to all changes in this revision

Viewing changes to src/memory.h

  • Committer: Dmitry Groshev
  • Date: 2020-02-19 18:57:06 UTC
  • Revision ID: git-v1:e55eb7d3d14bc17ea92f5e5f00ecc538dced0aeb
Version 3.49.20

Added Normalize filter to Effects menu
Added extended variable interpolation mode to file actions: ">% echo Width %W Height %H Bytes/pixel %B" etc.
Made Image->Information work in script mode, interpolating a pattern given to it
Fixed quoting in file actions for filenames that contain nastier special chars
Fixed threshold window ignoring input when preview disabled

Show diffs side-by-side

added added

removed removed

Lines of Context:
731
731
//      Convert image to Indexed Palette using quantize
732
732
int mem_quantize( unsigned char *old_mem_image, int target_cols, int type );
733
733
void mem_invert();                      // Invert the palette
 
734
void mem_normalize();                   // Normalize contrast in image or palette
734
735
 
735
736
//      Clear/set protection (what = NULL - color n, n = -1 - all colors)
736
737
void mem_mask_setv(int *what, int n, int state);