Comments (18)
Which version of libvips are you using? Are you passing the proper text
query param?
from imaginary.
Sorry forgot to mention this happens on the /form testing page.
How do I check the version?
It's the one that comes with the latest docker build.
from imaginary.
Be sure you are running the latest imaginary
version, pulling from master
.
Then, if you make a GET request to /
you should see JSON returning the current versions.
from imaginary.
imaginary server 0.1.9
from imaginary.
Try pulling the latest: 0.1.15.
from imaginary.
Ok trying that now.
But the latest tag isn't working correctly.
You may need to update it each time, it's pointing to an old version: https://hub.docker.com/r/h2non/imaginary/tags/
from imaginary.
Same thing happens:
{
imaginary: "0.1.15",
bimg: "0.1.21",
libvips: "8.0.2"
}
from imaginary.
I see now. I'll fix the docker tag.
The issue is probably due to the libvips
version, it works fine with +7.40
. watermark feature is not fully supported yet in 8.x
from imaginary.
Docker tag was fixed. Now you can use latest
. I'm gonna reproduce the issue using libvips 8.x
, and based on that, perhaps I'll release a new release (and Docker tag too) which uses libvips 7.42.3
, as intermediate solution until the support with 8.x
is done.
from imaginary.
Wow. That was amazingly fast.
from imaginary.
Deleted all my images, and refetched the latest image.
It still uses libvips: "8.0.2"
Also, the latest tag doesn't work correctly, as the image didn't auto update.
I had to delete it and refetch latest. :(
from imaginary.
Too fast, dude. I'm still working on it. I'll let you know.
from imaginary.
Breaking news: I was wrong. The issue we're covering here is not related to compatibility inconsistencies in different libvips
versions, which is actually in some way positive.
I guess it's due to an unsatisfied dependency when compiling, especially in raw Linux distributions without graphical environment. To be more concrete, I'm talking about pango, which is internally used by libvips
to render text-based stuff.
I'm digging into the proper solution, and I'll let you know about it.
By the moment, I would not recommend you to use the watermark feature, which is the unique feature that doesn't works currently in Docker.
from imaginary.
Thanks man.
Off topic
I'm planning on creating an image service for Firebox.com. We have multiple images for a product, multiple sizes (some with watermarks). e.g. http://media.firebox.com/pic/p7344_column_grid_12.jpg that would be generated from an original image when requested and stored on the filesystem if it didn't exist already.
I might write something from scratch in Go. We need GIF support and config for different sizes.
Let me know if you have suggestions.
from imaginary.
Bad short answer: gif
support is not planned. But libvips
can handle it via libmagick
bindings.
from imaginary.
As I said before, this issue is generated due to libpango
dependency is missing when compiling libvips
. This can be easily fixed from Dockerfile, so I moved the request to the original maintainer of the parent image I'm using in the Dockerfile.
Hopefully that is fixed now, but the Docker image is not available yet, so I'll let you know.
Just to clarify, for now there's not compatibility issue with latest versions of libvips
.
from imaginary.
I've just pushed a fresh version, just pull it from Docker hub:
docker pull h2non/imaginary
All the watermark feature should work now. Cheers!
from imaginary.
Brilliant, all works.
Thanks
from imaginary.
Related Issues (20)
- stripmeta=true results in wrong colors for non-sRGB JPEGs
- Does Imaginary Docker support arm? Not compatible with Raspberry Pi 4 HOT 3
- Where can I find the log files?
- Error with throttled package HOT 4
- Resize PNG without antialiasing HOT 3
- How to debug error 400 ? HOT 3
- Is there any option to crop at position?
- Integrate pull request preview environments
- Imaginary preview generation failed: HOT 1
- What causes the "Image Resolution is too Big" Error? HOT 1
- New release HOT 8
- Is there a way to deskew an image?
- Passing Last-Modified or etag in response header
- 1 Is there any method to copy from savePath to "collect_${savePath}"? ; 2 Check whether there is a method to clear the vicinity by a specific directory or by a time range.
- Build image from Dockerfile error
- throttled.NewGCRARateLimiter is deprecated
- `-cpus <num>` doesnโt seem to set the number of cores HOT 1
- Is there a way to pass through Cache-control headers? HOT 1
- Adding support for response headers
- Docker keeps throwing (VMAllocationTracker.cpp:137 vm_allocation_info_for_address) HOT 3
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 imaginary.