Dear Experts ,
Is that possible to load JPEG image using CFBsBitmap ? or only I have to laod Bimap ?![]()
Dear Experts ,
Is that possible to load JPEG image using CFBsBitmap ? or only I have to laod Bimap ?![]()
You can use jpeg images in your application by converting them into CFbsBitmap type objects with the help of CImageDecoder API.
try this example https://www.forum.nokia.com/info/sw....r_Example.html it displays many types of images using CImageDecoder API
there would of course be simpler examples awailable in the wiki, like this one: http://wiki.forum.nokia.com/index.ph...Symbian_bitmap
See, you have your image_readerAppui.h file. Keep it separate.
Now you should make a separate file image_reader.h ( and .cpp). You can make an instance of image_reader's class (defined in image_reader.h) in image_readerAppui.h file and use the functions provided by image_reader class.
To make sure that we are on the same boat![]()
For example I have image_read.h and image_read.cpp
On image_read.cpp there function called void foo();
In Image_readerAppui.h and image_readAppui.cpp I must include the image_read.h such as #include<Image_read.h>
In Image_readAppui.cpp call the cuntion such : foo();
I'm right ?![]()
I would suggest you on reading some basics of object orientation and C++. Basically you would declare the class in the image_read.h, implement it in image_read.cpp for example. And then you would cnstruct the class instance and utilize the functions of the class through that instance. And in place where you use the class, you would need to include the header, so the compiler would be able to find it.
basically where ever you would want to use the functions of a class, you would need to contruct a instance of that class, and then use that instance to execute the functions of that class, rather standard object orientation really.