This website works better with JavaScript.
Home
Help
Sign In
hms
/
aptdec
mirror of
https://github.com/Xerbo/aptdec
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
7
Wiki
Activity
Browse Source
First HRPT palette! Also fix some warnings in pngio.c
tags/v1.8.0
Xerbo
4 years ago
parent
399b2234d2
commit
8e77155394
2 changed files
with
2 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
BIN
palettes/Falsecolor-N19-HRPT-High-Veg.png
+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 <stdio.h>
#include <string.h>
#include <string.h>
#include <stdint.h>
#include <stdint.h>
#include <math.h>
#include "common.h"
#include "common.h"
#include "offsets.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
// Parse effects
int crop_telemetry = 0;
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]) {
switch (opts->effects[i]) {
case Crop_Telemetry:
case Crop_Telemetry:
width -= TOTAL_TELE;
width -= TOTAL_TELE;
Write
Preview
Loading…
Cancel
Save