Browse Source

First HRPT palette! Also fix some warnings in pngio.c

tags/v1.8.0
Xerbo 4 years ago
parent
commit
8e77155394
2 changed files with 2 additions and 1 deletions
  1. BIN
      palettes/Falsecolor-N19-HRPT-High-Veg.png
  2. +2
    -1
      pngio.c

BIN
palettes/Falsecolor-N19-HRPT-High-Veg.png View File

Before After
Width: 256  |  Height: 256  |  Size: 89 KiB

+ 2
- 1
pngio.c View File

@@ -22,6 +22,7 @@
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <math.h>

#include "common.h"
#include "offsets.h"
@@ -317,7 +318,7 @@ int ImageOut(options_t *opts, image_t *img, int offset, int width, char *desc, c

// Parse effects
int crop_telemetry = 0;
for(int i = 0; i < strlen(opts->effects); i++){
for(unsigned long int i = 0; i < strlen(opts->effects); i++){
switch (opts->effects[i]) {
case Crop_Telemetry:
width -= TOTAL_TELE;


Loading…
Cancel
Save