Encryption of file in Picture - c++

I want to write a software to encrypt(AES 256bit) file or picture in a picture or file. I have never done encryption so I have no idea how to do this in C++. Suggestions of Frameworks or libraries with documentation will be really helpful.
Thanks for your help!

Related

Generating Adio Fingerprint with GraceNote SDK

I am having some trouble understanding the samples included in the gnsdk download. All I need to do is to be able to generate an audio fingerprint from a wav. file. My plan is then to hand it off the the web api to query the database. I am much more experienced in web languages so once I can get the fingerprint I shoudl be good to go. Unfortunately my C/C++ is a bit shaky.
I am trying to figure out the exact function I need to call and how to pass a wave file to it. If anybody has any tips or clues on how to just generate the finger print I would be forever grateful.
Please refer to the sample source code under 'samples/musicid_lookup_album_fpx'.
In the main.c file look for the following functions.
APIs for generating finger prints from PCM.
gnsdk_musicid_query_fingerprint_begin()
gnsdk_musicid_query_fingerprint_write()
gnsdk_musicid_query_fingerprint_end()
API for saving finger print to a string buffer.
gnsdk_musicid_query_get_fp_data()

Using OpenStreetMap in my c++ program

I have a gpx file. I need a open source library that i can give it the gpx file and that it will present the route on a map. Does anyone know such a thing?
I'm writing in c++ on windows xp.
thanks in advance!!
There exists a bunch of Frameworks to map the OSM APIs to different languages.
Please check out this wiki-page from OSM: http://wiki.openstreetmap.org/wiki/Develop/Frameworks
I think what you search for can be found under Widgets like for example "COSMCtrl 1.1.3"

GML and JPEG2000 library

have you ever worked with JPEG2000 and/or GML?.
I'm reading documentation about GMLJP2 but I don't find any libraries that implement this. I mean, as far as I know it should be possible to have a GML file within a jp2 file (that is, a single file with both of the thigs).
Also, it's difficult to get a viewer that integrates GML and JPEG2000.
Any information regarding how to work with GML or JPEG200 is wellcome ;-)
Many thanks!
PD: I want to work with C or C++ but it doesn't matter the language yet
"Also, it's difficult to get a viewer that integrates GML and JPEG2000."
As I understand GML is just a block of metadata in XML inserted into JPEG2000 file. Any decent decoder should be able to extract it.
I wrote a JP2 metadata editor and included basic GML support.
You can download it here:
http://j2k-codec.com/mde.html
See the "gml.jp2" file for an example.
Hope it will be helpful.

File Signature Validation

I Have used a utility written by Mark Russinovich, it is used to validate the file signature.
Any one have ideas how this can be done, i know it is not a simple code, but just i need some hints, APIs, steps, A guide map, Just to go in the correct direction.
I read too much a bout the cryptAPIs, then I read too much about the certAPIs, but i cannot get any thing useful to simply link a given file with the (unknown to me) data stored in the windows.
if any can help me in this issue please help, thanks a lot.
You should read about Authenticode.

How can I use graphical resources (stored in res\drawable folders) from NDK?

I need to use openGL in NDK, and I need to load and use some images (PNG), and maybe other files. These files are stored in res\drawable, res\drawable-hdpi, but I cannot access them with fopen()...
There is a way to do this?
Can somebody give me a piece of code for my problem, because it is quite urgent.
Thank you very much, and Merry Christmas,
Tibi.
Try using perror (or strerror) to determine why fopen is failing.