Solved

C++ add text to image

Posted on 2008-10-07
7
692 Views
Last Modified: 2012-05-05
I want to write an application which will put a watermark on an image, and save it, how can i do so with C++.
Notes:
This application will run on Windows, Mac and Linux.


Thanks,
0
Comment
Question by:amrelgarhy81
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 22658653
You will need to choose a cross-platform library. Maybe QT (expensive but powerful) or wxWdigets (free)
0
 
LVL 1

Author Comment

by:amrelgarhy81
ID: 22658683
where can i find this wxWdigets?
And i think QT is for building forms and controls, it can manage images manipulations as well?

Thanks,
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 22658718
yes, QT can manage several types of bitmaps.
About wxwidgets: http://wxwidgets.org/
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 22658763
For wxWidgets, you need to use wxBitmap class: http://docs.wxwidgets.org/2.6/wx_wxbitmap.html
0
 
LVL 1

Author Comment

by:amrelgarhy81
ID: 22658791
but are you sure i can add text to image and save it again using this class:wxBitmap ?
0
 
LVL 1

Author Comment

by:amrelgarhy81
ID: 22658801
and it will support all image formats or just .bmp?
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 125 total points
ID: 22658855
you can save bitmaps in many formats as described in:
http://docs.wxwidgets.org/2.6/wx_wxbitmap.html#wxbitmapsavefile
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question