question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

File support [feature request]

See original GitHub issue

Is it possible to add File support to methods instead of using canvas elements (as well as having a Blob binary output)? This would be very handy as most of us are getting the image to modify as a File object from a input[type=file]. This way this library will be the ultimate solution to image processing client side 😄

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
grahamscommented, Aug 16, 2017

@damianobarbati Are you really suggesting that the only thing people would like to scale are images that came from the camera apps from iOS or Android devices?

What about PNGs? GIFs? What about non-pictures such as scanned text documents? In fact, I’d argue that using pica is more useful when scaling scanned text than it is with pictures (since the interpolation built into the browsers is so bad).

We use pica here: http://html5.snowbound.com/ The DOC and PDF files are rendered to SVG on the server (and therefore we don’t use pica on them), but the TIFF and JPEG files are scaled via pica.

1reaction
puzrincommented, Jul 8, 2020

https://github.com/nodeca/image-blob-reduce - this is pica wrapper for files. With predictable quality.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I file a project feature request?
You can file a feature request by clicking "New Issue" and entering a summary and description.
Read more >
Feature Request/Bug Report Form
Welcome to the Feature Request and Bug Report Submission Form. Use this form to request new features or suggest modifications to existing features....
Read more >
How-to-file-a-Feature-Request ? - Airheads Community
Filing a Feature Request: Email support@airwave.com with any feature requests. Things to include in the request: your name, company, current running.
Read more >
How to file Customer Feedback and Feature Requests ...
Select Share Your Feedback. Input suggestions or scroll down to see existing suggestions from other users. You can click on Thumbs up to...
Read more >
Product Feature Requests - How to Write and Submit Them
Describes the Feature Request process and provides tips on how to write a Feature Request for best results.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found