Git Product home page Git Product logo

arcaeachartrender's Issues

渲染 Aleph-0 的谱面时出现异常

渲染 Aleph-0 的任意难度谱面, 过程中均出现 Python 使用的内存激增, 超过了 8G

控制台输出错误

PIL.Image.DecompressionBombError: Image size (2298000000 pixels) exceeds limit of 178956970 pixels, could be decompression bomb DOS attack.

推测可能是该谱面出现多段变速导致图片尺寸极大, 以及渲染过程中的内存暴涨

Timing 渲染时若 BPM 过高可能会导致崩溃

测试报错语句:

timing(19058,255000.00,3.00);

报错内容:

Traceback (most recent call last):
  ...
  File "...\render.py", line 162, in __init__
    self._render()
  File "...\render.py", line 171, in _render
    self._draw_variable_speed_layer()
  File "...\render.py", line 253, in _draw_variable_speed_layer
    draw.rectangle(
  File "C:\Users\Lxns\AppData\Roaming\Python\Python311\site-packages\PIL\ImageDraw.py", line 294, in rectangle
    self.draw.draw_rectangle(xy, fill, 1)
ValueError: y1 must be greater than or equal to y0

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.