Giter VIP home page Giter VIP logo

metamorphosis's Issues

TypeError line 902

i experienced a type error in line 902 and it was resolved by converting message to str(message)

Cannot convert X11 theme to something acceptable by Windows

Hello!

I am trying to convert X11 cursor theme made by me to make it work on Windows, but I wasn't able to do that:

~/src/Metamorphosis ./Metamorphosis.py -i ~/src/hand-of-evil/hand-of-evil/cursors -t Windows -o win                                                                                  [code: 130, time: 0,000s]

Metamorphosis working...

---> Processing Input    #0:             `/home/grief/src/hand-of-evil/hand-of-evil/cursors`
------> Start Processing #0:             `cursors` folder
------> Process          #0:             aborted, insert `.ani`, `.cur` or `X11` cursor(s) in a folder.
------> Start Processing #1:             `cursors` folder
------> Start Processing #1.1:           `color-picker`
------> Process          #1.1:           aborted, duplicate file found.
------> Start Processing #1.2:           `X_cursor`
------> Process          #1.2:           aborted, duplicate file found.
------> Start Processing #1.3:           `cross`
------> Process          #1.3:           aborted, duplicate file found.
------> Start Processing #2:             `cursors` folder
------> Process          #2:             aborted, insert `.ani`, `.cur` or `X11` cursor(s) in a folder.
------> Start Processing #2.4:           `zoom-in`
------> Process          #2.4:           aborted, duplicate file found.
------> Start Processing #3:             `cursors` folder
------> Process          #3:             aborted, insert `.ani`, `.cur` or `X11` cursor(s) in a folder.

and so on. No files were created. Here is the theme itself: https://github.com/Grief/hand-of-evil/

Heuristics.PNG.CVE-2010-1205=Vulnerability

/Metamorphosis/Iconolatry/test_encode/PngSuite/3.12/xc9n2c08.png

/Metamorphosis/Iconolatry/test_encode/PngSuite/3.12/xd0n2c08.png

/Metamorphosis/Iconolatry/test_encode/PngSuite/3.12/xd3n2c08.png

Can you explain this? I am not saying that it is a vulnerability in its entirety, however, I would like to know what it is exactly.

SyntaxWarnings and DeprecationWarning

~/Desktop/sources/Metamorphosis/Iconolatry.py:178: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if path is "":
~/Desktop/sources/Metamorphosis/Iconolatry.py:194: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if name is "":
~/Desktop/sources/Metamorphosis/Iconolatry.py:212: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if frmt is "":
~/Desktop/sources/Metamorphosis/Metamorphosis.py:267: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
  def resize_meth(self, image, method = Image.ANTIALIAS):

(Python 3.10.5)

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.