remove unused imports; bump
This commit is contained in:
parent
0780bc8267
commit
37cde1713d
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "pixsy"
|
name = "pixsy"
|
||||||
version = "0.72.3"
|
version = "0.72.4"
|
||||||
description = "convert images to Bitsy rooms"
|
description = "convert images to Bitsy rooms"
|
||||||
authors = ["Max Bradbury <max@tinybird.info>"]
|
authors = ["Max Bradbury <max@tinybird.info>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use image::{Luma, Rgba};
|
use image::Rgba;
|
||||||
|
|
||||||
#[derive(Clone, Copy)]
|
#[derive(Clone, Copy)]
|
||||||
pub struct ColourMap {
|
pub struct ColourMap {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
use bitsy_parser::game::Game;
|
use bitsy_parser::game::Game;
|
||||||
use bitsy_parser::image::Image;
|
use bitsy_parser::image::Image;
|
||||||
use bitsy_parser::tile::Tile;
|
use bitsy_parser::tile::Tile;
|
||||||
use image::{GenericImageView, Pixel, DynamicImage, GenericImage, ImageBuffer};
|
use image::{GenericImageView, Pixel, DynamicImage};
|
||||||
use lazy_static::lazy_static;
|
use lazy_static::lazy_static;
|
||||||
use std::sync::Mutex;
|
use std::sync::Mutex;
|
||||||
use wasm_bindgen::prelude::*;
|
use wasm_bindgen::prelude::*;
|
||||||
|
@ -11,7 +11,6 @@ use wasm_bindgen::prelude::*;
|
||||||
mod colour_map;
|
mod colour_map;
|
||||||
|
|
||||||
use colour_map::ColourMap;
|
use colour_map::ColourMap;
|
||||||
use image::imageops::FilterType::CatmullRom;
|
|
||||||
|
|
||||||
const SD: u32 = 8;
|
const SD: u32 = 8;
|
||||||
|
|
||||||
|
@ -261,7 +260,6 @@ pub fn output() -> String {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use crate::{add_room, load_image, load_default_game, output, get_preview};
|
use crate::{add_room, load_image, load_default_game, output, get_preview};
|
||||||
use image::Rgba;
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn image_to_base64() {
|
fn image_to_base64() {
|
||||||
|
|
Loading…
Reference in New Issue