mirror of
https://frontier.innolan.net/github/AmigaExamples.git
synced 2026-09-13 15:02:27 +00:00
Updated to use resize
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
NUM_COLORS=64
|
||||
NUM_COLORS=32
|
||||
MODULE=ehb_mode.s
|
||||
FLOPPY=bin/ehb_mode.adf
|
||||
IMAGEDATA=out/image-palette.s out/image.bin
|
||||
IMAGEFILE=../assets/gigi.png
|
||||
IMAGEFILE=../assets/gigi_full.png
|
||||
SIZED_IMAGEFILE=out/image.png
|
||||
|
||||
EXTRA=$(IMAGEDATA) $(BOB_IMAGEDATA) init.s utils.s constants.i Makefile
|
||||
VASM_EXTRA_ARGS=-DSCREEN_COLORS=$(NUM_COLORS)
|
||||
|
||||
@@ -12,5 +14,8 @@ endif
|
||||
|
||||
include ../shared/base.mk
|
||||
|
||||
$(IMAGEDATA): $(IMAGECON) $(IMAGEFILE) $(SHARED_PALETTE) Makefile
|
||||
$(IMAGECON) --input $(IMAGEFILE) --output out/image --output-bitplanes --output-grey-palette-asm --output-palette-asm --colors=32 --quantize $(EXTRA_HALF_BRITE)
|
||||
$(SIZED_IMAGEFILE): $(IMAGEFILE) $(RESIZE) Makefile
|
||||
$(RESIZE) --width=320 --height=256 --blur=0.75 --input=$(IMAGEFILE) --output=$(SIZED_IMAGEFILE)
|
||||
|
||||
$(IMAGEDATA): $(IMAGECON) $(SIZED_IMAGEFILE) $(SHARED_PALETTE) Makefile
|
||||
$(IMAGECON) --input $(SIZED_IMAGEFILE) --output out/image --output-bitplanes --output-grey-palette-asm --output-palette-asm --colors=32 --quantize $(EXTRA_HALF_BRITE)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 40 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 45 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 66 KiB |
Reference in New Issue
Block a user