augustoruiz / img2cpc Goto Github PK
View Code? Open in Web Editor NEWTool to convert images in a lot of formats to data that can be used in Amstrad CPC software
License: MIT License
Tool to convert images in a lot of formats to data that can be used in Amstrad CPC software
License: MIT License
➜ Img2CPC git:(master) gmake -f Makefile.others
g++ -std=c++11 -O3 -Werror -Wall -fsigned-char -o obj/Palette.o -c -Iinclude src/Palette.cc
Assembler messages:
Fatal error: can't create obj/Palette.o: No such file or directory
gmake: *** [Makefile.others:28: obj/Palette.o] Error 1
I'll submit a PR for this shortly, as part of my work to get this tool working on FreeBSD.
-scr option doesn't work for overscan resolution
Is it possible to add it ?
➜ Img2CPC git:(master) mkdir obj
➜ Img2CPC git:(master) gmake -f Makefile.others
g++ -std=c++11 -O3 -Werror -Wall -fsigned-char -o obj/Palette.o -c -Iinclude src/Palette.cc
g++ -std=c++11 -O3 -Werror -Wall -fsigned-char -o obj/TileExtractor.o -c -Iinclude src/TileExtractor.cc
g++ -std=c++11 -O3 -Werror -Wall -fsigned-char -o obj/img2cpc.o -c -Iinclude src/img2cpc.cc
g++ -std=c++11 -O3 -Werror -Wall -fsigned-char -o obj/jsoncpp.o -c -Iinclude src/jsoncpp.cpp
g++ -o bin/img2cpc obj/Palette.o obj/TileExtractor.o obj/img2cpc.o obj/jsoncpp.o -lfreeimage
➜ Img2CPC git:(master) ./bin/img2cpc --help
[1] 58442 segmentation fault (core dumped) ./bin/img2cpc --help
I'll submit a PR for this shortly, as part of my work to get this tool working on FreeBSD.
Interlaced Masks option requires a transparent color from the palette to generate the masks. However, this shouldn't be required, as interlaced masks do not depend on a palette color, as mask tables do. I suggest generating interlaced masks out of 3 possibilities:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.