Comments (2)
Hello,
No, I don't think that will be possible. The work is taking place in CGo and is performing computations until it completes, so there isn't any way to get its attention, so to speak. Your best bet is probably to use the header methods to inspect the dimensions and decide whether to proceed before starting the transform.
from lilliput.
Okay cheers for the response.
from lilliput.
Related Issues (20)
- APNG support HOT 4
- WebP animated support HOT 7
- Unreachable code in thumbhash_encoder_create function
- Segfaults when `go-fitz` is imported
- ld: library not found for -lsharpyuv HOT 2
- Dockerfile Example HOT 1
- Getting error in building library
- The effect of Discord increasingly relying on rust on this project HOT 2
- Couldnt build lilliput HOT 2
- Can not build the lib HOT 4
- PNG compression algorithm causing desaturation
- Please add sample for Audio support
- Some .gifs are incorrectly "smearing"
- go get error HOT 3
- Not possible to cross compile
- Compile warning on Ubuntu 20.04.2 LTS HOT 4
- PNG compression - larger then before HOT 2
- ARM support (Apple M1) HOT 4
- Apple M1 issues HOT 2
- Versions not picked up by pkg.go.dev
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lilliput.