gil icon indicating copy to clipboard operation
gil copied to clipboard

Text manipulation support?

Open yuzarx opened this issue 3 years ago • 5 comments

Hi, 👋 I know this is dumb to open an issue for, but will boost.gil support text manipulation, if so when ? and thanks in advance

yuzarx avatar Jan 14 '21 00:01 yuzarx

GIL stands for Generic Image Library, what kind of text manipulation support are you expecting from an image library? Rendering text?

sdebionne avatar Jan 14 '21 08:01 sdebionne

I know this might be hard and a lot to implement, but yes, yes, rendering text, loading from fonts, text color, text position etc.

yuzarx avatar Jan 14 '21 09:01 yuzarx

I would recommand to check this (old) contribution then, it might be a good start:

FreetypeGIL by Tom Brinkman - A Freetype wrapper for GIL. Renders text onto GIL views.

sdebionne avatar Jan 14 '21 14:01 sdebionne

Okey ty I really appreciate, one thing how do I get the value of boost::pixel didn't find any way to do it

yuzarx avatar Jan 14 '21 16:01 yuzarx

yes, rendering text, loading from fonts, text color, text position etc.

GIL is not a rendering library. You should look at https://github.com/cpp-io2d/P0267_RefImpl and http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0267r10.pdf, and plenty of other libraries out there.

how do I get the value of boost::pixel

There is no such thing as boost::pixel

mloskot avatar Jan 15 '21 09:01 mloskot