Swap X/y in images (#528)
* Swap X/Y in image encoding * Fix PNG decoder * Now really fix png * reducing deps * moving png.cpp into ev3 * bumped pxt * updated shims * fixing c++ compilation * updated shims * Fix pixel order * update pxt * Fix C++ image decoding * Add expanded PNG images * Generate E1 format images (in libs/ev3 run 'pxt buildsprites images') * Go back to white background * Remove PNG support
This commit is contained in:
committed by
Peli de Halleux
parent
95ab3be26e
commit
8ed79e7133
6
libs/core/shims.d.ts
vendored
6
libs/core/shims.d.ts
vendored
@ -75,12 +75,6 @@ declare namespace serial {
|
||||
//% shim=serial::writeDmesg
|
||||
function writeDmesg(): void;
|
||||
}
|
||||
declare namespace image {
|
||||
|
||||
/** Decompresses a 1-bit gray scale PNG image to image format. */
|
||||
//% shim=image::unpackPNG
|
||||
function unpackPNG(png: Buffer): Image;
|
||||
}
|
||||
declare namespace output {
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user