Solved

C++ add text to image

Posted on 2008-10-07
7
630 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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 how to create, access, and change arrays in the C programming language.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

770 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