Giter Club home page Giter Club logo

thumbnail's People

Contributors

anshulkharb avatar aybruhm avatar fcmadmin avatar

Stargazers

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

Watchers

 avatar  avatar

thumbnail's Issues

'unoconv' is not recognized as an internal or external command,

Here is my code:

import os
from thumbnail import generate_thumbnail

os.chdir(os.path.dirname(os.path.abspath(__file__)))


options = {
    'trim': False,
    'height': 300,
    'width': 300,
    'quality': 85,
    'type': 'thumbnail'
}
generate_thumbnail('./test/Fairy2019Bow.swf', './test/Fairy2019Bow.png', {})

I'm running windows 10 and Python 3.9.1. I've installed all the prerequisite on the page. but i'm getting the error:

'unoconv' is not recognized as an internal or external command,
operable program or batch file.
Invalid Parameter - 85
./4401.pdf
Traceback (most recent call last):
  File "C:\Users\User\Google Drive\Programming\SWF Folder\conv\swfToimage.py", line 13, in <module>
    generate_thumbnail('./test/Fairy2019Bow.swf', './test/Fairy2019Bow.png', {})
  File "C:\Users\User\Google Drive\Programming\SWF Folder\conv\swfToimage.py", line 115, in generate_thumbnail
    os.remove(tmppath)
FileNotFoundError: [WinError 2] The system cannot find the file specified: './4401.pdf'

Is there a way to fix this?

A side note, i installed the pip install foliantcontrib.imagemagick when i was looking for the imagemagick module. Is this fine?

Pyinstaller isn't able to pack this module

Traceback (most recent call last):
File "Prevyet Presentations.py", line 78, in
File "thumbnail\thumbnail.py", line 74, in generate_thumbnail
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Vikasitha\Projects\Privyet - We make presentations easy for you\EXE\Prevyet Presentations\thumbnail/mimedb.json'

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.