?
Solved

C++ add text to image

Posted on 2008-10-07
7
Medium Priority
?
708 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
Industry Leaders: 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 500 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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
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…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
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.
Suggested Courses

801 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