Solved

C++ add text to image

Posted on 2008-10-07
7
653 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
  • 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Task manager indicates my c++ program memory consumption is growing? 12 127
Global Keyboard Hooks Blocked 4 81
Dialogbox API leak? 18 99
Outlook 13 45
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

820 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