Giter Club home page Giter Club logo

appetiser's Introduction

dlcs

github.io root

appetiser's People

Contributors

donaldgray avatar fmcc avatar jacklewis-digirati avatar tomcrane avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

appetiser's Issues

Flag for progressive downscaling on/off

PR #4 fixed a scaling issue by removing progressive downscaling.

This ensures that the returned values are correct but takes slightly longer to calculate. If the calling system is aware of what the sizes should be, then they may be willing to accept a slight margin for error in the returned values. Have a flag to allown progressive downcaling to be enabled/disabled depending on needs of consuming app.

Either on startup or per request? Or a default of 'correct', but can be overriden per request.

Empty/unknown POST body returning 200

If I make a call to POST /convert with an empty ({}), or unrecognised body I get a 200 response code back, with the following JSON:

{
    "message": "Unknown operation",
    "status": "error"
}

This should be a non 2xx (400?) response.

More operations

Allow more operations to be specified? Currently you can:

  • "ingest" - create JPEG2000 from source and then generate thumbnails
  • "derivatives-only" - generate thumbnails from existing JPEG2000.

Other options could be:

  • "thumbnails" - create thumbnails only, from a non-JPEG2000 only
  • "convert" - create JPEG2000 from source without generating thumbnails

Both of these options can be achieved by calling "ingest" and disregarding some of the output but that incurs unnecessary compute cost.

outdated dependencies

2 dependencies within the project are not pinned correctly and cause the build to fail.

These are werkzeug in flask and PyYaml in awscli. based on this stack overflow it looks like pinning pyyaml may have security implications

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.