Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text manipulation support? #540

Open
yuzarx opened this issue Jan 14, 2021 · 5 comments
Open

Text manipulation support? #540

yuzarx opened this issue Jan 14, 2021 · 5 comments
Labels
cat/question Consider posting to https://lists.boost.org/boost-gil/

Comments

@yuzarx
Copy link

yuzarx commented Jan 14, 2021

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

@sdebionne
Copy link
Contributor

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

@yuzarx
Copy link
Author

yuzarx commented Jan 14, 2021

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

@sdebionne
Copy link
Contributor

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.

@yuzarx
Copy link
Author

yuzarx commented Jan 14, 2021

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

@mloskot
Copy link
Member

mloskot commented Jan 15, 2021

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 mloskot changed the title text support Text manipulation support? Jan 15, 2021
@mloskot mloskot added the cat/question Consider posting to https://lists.boost.org/boost-gil/ label Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat/question Consider posting to https://lists.boost.org/boost-gil/
Projects
None yet
Development

No branches or pull requests

3 participants