FloatImg/lib
2024-08-28 21:23:09 +02:00
..
alphachan.c bla 2023-11-29 11:26:56 +01:00
contrast.c silent a message 2023-10-08 10:26:03 +02:00
fimg-2gray.c cosmetic 2024-05-01 21:40:44 +02:00
fimg-compare.c use <stdint.h> everywhere 2021-05-20 09:31:28 +02:00
fimg-core.c better messages 2024-03-27 12:20:28 +01:00
fimg-file.c cosmetic 2024-05-01 21:40:44 +02:00
fimg-math.c cosmetic 2024-05-01 21:40:44 +02:00
fimg-pnm.c big cleanup, word on metadata 2022-07-06 10:27:55 +02:00
fimg-timers.c big cleanup, word on metadata 2022-07-06 10:27:55 +02:00
interpolate.c add a remember 2023-07-05 16:48:55 +02:00
Makefile last commit from outerspace 2022-07-11 06:12:25 +02:00
metadata.c cosmetic 2024-05-01 21:40:44 +02:00
operators.c use <stdint.h> everywhere 2021-05-20 09:31:28 +02:00
README.md working on readme files 2024-08-28 21:23:09 +02:00
runme.sh wtf? 2021-05-20 08:38:23 +02:00
t.c small patches 2023-10-06 21:34:11 +02:00

Floatimg, the base/core library

Data structures

Image's pixels (floating point number, a float for C) are ordonned as an array of lines of single componant values. Every componant is in a separate array, who are glued together by an in-memory image descriptor.

#define MAGIC_FIMG	0x00F11F00
typedef struct {
  uint32_t	      magic;
  int		      width;
  int		      height;
  int		      type;
  float           fval;
  int		      count;
  float	          *R, *G, *B, *A;
  FimgMetaData    mdatas;			// added 20230912
  int		      reserved;
	} FloatImg;

For the current state of this struc, look at the main header file, located at the root of the project.