• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 754
  • Last Modified:

C++ add text to image

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
amrelgarhy81
Asked:
amrelgarhy81
  • 4
  • 3
1 Solution
 
Jaime OlivaresSoftware ArchitectCommented:
You will need to choose a cross-platform library. Maybe QT (expensive but powerful) or wxWdigets (free)
0
 
amrelgarhy81Author Commented:
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
 
Jaime OlivaresSoftware ArchitectCommented:
yes, QT can manage several types of bitmaps.
About wxwidgets: http://wxwidgets.org/
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Jaime OlivaresSoftware ArchitectCommented:
For wxWidgets, you need to use wxBitmap class: http://docs.wxwidgets.org/2.6/wx_wxbitmap.html
0
 
amrelgarhy81Author Commented:
but are you sure i can add text to image and save it again using this class:wxBitmap ?
0
 
amrelgarhy81Author Commented:
and it will support all image formats or just .bmp?
0
 
Jaime OlivaresSoftware ArchitectCommented:
you can save bitmaps in many formats as described in:
http://docs.wxwidgets.org/2.6/wx_wxbitmap.html#wxbitmapsavefile
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now