Git Product home page Git Product logo

jingshing-tools / pixel-art-filter-python Goto Github PK

View Code? Open in Web Editor NEW
30.0 1.0 1.0 2.15 MB

A pixel art style filter tool made with python. It can help you turn the picture style into pixel art.

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%
image-editing image-editor pixel pixel-art pixelart pygame python tkinter filter gif gif-creator gif-maker image-processing video-processing opencv-python

pixel-art-filter-python's Introduction

Pixel-Art-transform-in-python

English | 繁體中文

A pixel art style filter tool made with python. It can help you turn the picture style into pixel art.

If you need exe click here

You can get this exe on itch.io : Pixel Art Filter Tool

New Web version

If you want to set this tool on your server or use it as page version. You can see this ver: Pixel-Art-Filter-Web.

Image below is what it can done on web and on browser. After After_vid

Usage

You can click pic below to watch vid. Usage

Video supported now

You can click the image below to watch the video.

Video

GIF supported now

  • gif1 gif1
  • gif2 gif2

Mode Switch

  • custom_mode custom_mode
  • simple_mode simple_mode

New UI

UI2 UI2

UI

UI UI

Original image

OR OR

Effect 16bit

1 1

Effect 4bit

2 2

Effect 2bit

3 3

Update Log

Ver 1.0

  • Released exe
  • Feature
    • Color num
    • Pixel size
    • Smoothing
    • Outline
    • Dithering

Ver 1.1

  • Add Chinese text
  • Add compression
  • Feature
    • Add Saturation
    • Add Contrast
    • Add brightness

Ver 1.2

  • Add more option of color nums, contrast and saturation values

Ver 1.2.1

  • Add maker name

Ver 1.3

  • Add page system
  • Add mode switch
  • Add custom mode -> can edit value you want

Ver1.4

  • Improved dithering effect. Removed noise points.

Ver1.5

  • Add gif module.
  • If file is gif it will be gif mode. It will automatic save as gif when transform is done.
  • Now supported gif.

Ver1.6

  • Working on Video module -> can edit mp4 and avi with experiment module.
    • flv file save has some bug.
    • This module will eat most of your cpu. So i will wrapped it as another tool.
  • Found bug can't save as chinese character name file.
  • video module

Ver1.6.1

  • GIF

    • Fixed gif duration error.

    • now can support ".gif " and " .GIF "

  • Video

    • Try to add video module in pixel art filter.
    • It's an experimental area. Use it wisely and trust your computer.
    • Now can transform video but there are some rules and thing you should know:
      • If it start it won't stop and cannot pause so you need to use it wisely.
      • It will take more time and ate almost your cpu when you use setting that are complex.
      • If it done video cover will display on window. And it will automatically save at the folder you put the exe.
      • Edited video will lost sound and become ultimately large. So be careful.
    • I add cmd for process hint. It will be there until I removed video edit part.

Ver1.6.2

  • Add save success hint
  • Found gif convert bug. Fixed.
  • Add tqdm as process bar in cmd.
    • Add process bar on both gif and video part in cmd.
  • Add video rendering window.
    • You can press 'Q' to stop rendering video now

Ver1.6.3

  • Windows size will limit in a scope. -> it will be limited in 800 X 600

Ver1.6.4

  • Add gif rendering display window
  • can stop render while rendering gif by pressing 'Q'

Ver1.7

  • Add mouse control:
    • Use scroll up to scale up
    • Use scroll down to scale down
    • Use mouse mid button to make image back to original pos and scale rate
    • Can drag image now by left click and moving mouse
  • Add dict to save sets to make code more flexible.

Ver1.7.1

  • Improved scaled image resolution
  • Can import and save sets. But mode should be same as saved set.

Usage

You can click pic to watch vid. Usage

Video supported now

Video

GIF supported now

  • gif1 gif1
  • gif2 gif2

Mode Switch

  • custom_mode custom_mode
  • simple_mode simple_mode

New UI

UI2 UI2

UI

UI UI

Original image

OR OR

Effect 16bit

1 1

Effect 4bit

2 2

Effect 2bit

3 3

pixel-art-filter-python's People

Contributors

jingshing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

yoyo870116

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.