criteo / JVips

Java wrapper for libvips using JNI.
Apache License 2.0
72 stars 41 forks source link

Support rendering text on a specified area in the image #100

Open Neway6655 opened 3 years ago

Neway6655 commented 3 years ago

Could you pls implement some more operations, like java.awt.Graphics2D's drawString method.

We are very appreciated if you can help to add this operation. Thanks!

Xmonpl commented 2 years ago

Yes, I need it too!

dbouron commented 2 years ago

Hi, I will take a look but I remember that drawing string into an image with libvip is not as trivial as Graphics2D's library

Xmonpl commented 2 years ago

The syntax is similar, and it will certainly be more faster than using Graphics2D library i think.

image image

dbouron commented 2 years ago

work in progress, the main inconvenient is the pango library that I can't embed yet because it's the hell to build it from scratch (lots of deps and meson/ninja build system)