Skip to content

Commit

Permalink
Fix Stories JPG size issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Franck ALARY committed Nov 11, 2023
1 parent c98d7f2 commit feb23ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
###########################################################

TARGET=Telmi Story Teller
VERSION=0.2.2
VERSION=0.2.3

###########################################################

Expand Down
3 changes: 1 addition & 2 deletions src/jpg2png/jpg2png.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ int main(int argc, char *argv[])
MI_PHY jpgPa = 0, pngPa = 0;
void *tmp, *jpgVa = NULL, *pngVa = NULL;
uint8_t *src8;
uint32_t *src, *dst, pix, x, y, sw, sh, dw, dh, ss = 0, ds = 0, mw = 250,
mh = 360;
uint32_t *src, *dst, pix, x, y, sw, sh, dw, dh, ss = 0, ds = 0, mw = 640, mh = 480;
char filename[256], *ptr;

// Read commandline and open jpg
Expand Down
2 changes: 1 addition & 1 deletion static/build/.tmp_update/runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ storyteller_jpg2png() {
if [ ! -f "$file" ]; then
continue
fi
jpg2png "$file"
jpg2png "$file" 320 240
rm -f "$file" 2> /dev/null
done
done
Expand Down

0 comments on commit feb23ab

Please sign in to comment.