Git Product home page Git Product logo

dri's Introduction

#WORK IN PROGRESS

#WILL BREAK AND/OR DESTROY EVERYTHING YOU HOLD DEAR

Not really a readme yet, just a collection of notes.

Settings variables:

You don't need to set any of these, the defaults should work for most use cases.

  • RESP_IMG_BREAKPOINTS [Optional]

    Type: List

    Default: [320, 453, 579, 687, 786, 885, 975, 990]

    Description: List of integers. Each integer represents the width of the output image. E.g., [100, 200] and each of your images will be resized to 100px wide and 200px wide.

  • RESP_IMG_QUALITY [Optional]

    Type: Integer

    Default: 80

    Description: Image's output quality. Note that this is ImageMagick's setting not a Photoshop setting.

  • RESP_IMG_THREAD [Optional]

    Type: Bool

    Default: True

    Description: Whether to use python threads to convert the images. Highly recommended.

  • RESP_IMG_UPLOAD_PATH [Optional]

    Type: String

    Default: ''

    Description: If provided, upload the images to the given folder under your MEDIA_ROOT folder. Otherwise, they just get saved in your MEDIA_ROOT folder.

  • RESP_IMG_FILETYPES [Optional]

    Type: List

    Default: ['jpg', 'jpeg', 'jpe', 'png', 'webp']

    Description: Image types subject to conversion. Should be a list of strings so, for example, ['jpg', 'jpeg', 'png', 'webp']. Uses the image's extension. The image is then checked against the backend.

dri's People

Contributors

jeremylow avatar

Watchers

 avatar  avatar

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.