I have used CxImage in VS2005 (successful) and tried to use CxImage WINCE version, it doesn't support .jp2 images?
-
Hai! My Requirement : To convert .jp2 image to .jpg in an Pocket PC 2003 application for WINCE device I have been struggling to display an convert different image formats (.jp2, .jpg, .bmp, .png). i have used CxImage to easily convert .jp2 to .jpg. Now i have tried the WINCE version of CxImage, but there the support for .jp2 images has been disabled by defining #define CXIMAGE_SUPPORT_JP2 0 I have also seen http://www.codeproject.com/KB/mobile/png\_\_jpg\_\_etc\_on\_pocketpc here also the .j2k or .jp2 images are not supported. How can i convert .jp2 images to .jpg in my Pocket PC application? Can't we use .jp2 images in Pocket PC applications if yes how? Can i use any converters(free) that can be directly used in my application like: MyJpegConverter.Load (MyImage.jp2) MyJpegConverter.SaveAs (MyImage.jpg) If yes can you suggest any free converter? If possible can you send me links of any Pocket PC applications that deal with .jp2 images conversion?? Thanks!
-
Hai! My Requirement : To convert .jp2 image to .jpg in an Pocket PC 2003 application for WINCE device I have been struggling to display an convert different image formats (.jp2, .jpg, .bmp, .png). i have used CxImage to easily convert .jp2 to .jpg. Now i have tried the WINCE version of CxImage, but there the support for .jp2 images has been disabled by defining #define CXIMAGE_SUPPORT_JP2 0 I have also seen http://www.codeproject.com/KB/mobile/png\_\_jpg\_\_etc\_on\_pocketpc here also the .j2k or .jp2 images are not supported. How can i convert .jp2 images to .jpg in my Pocket PC application? Can't we use .jp2 images in Pocket PC applications if yes how? Can i use any converters(free) that can be directly used in my application like: MyJpegConverter.Load (MyImage.jp2) MyJpegConverter.SaveAs (MyImage.jpg) If yes can you suggest any free converter? If possible can you send me links of any Pocket PC applications that deal with .jp2 images conversion?? Thanks!
So, why don't you port
CxImage
.jp2
support toWINCE
and write an article about? :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
So, why don't you port
CxImage
.jp2
support toWINCE
and write an article about? :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]As i have already said i am new to these images and their formats, I do not know how these decoders works, i have to find a solution to convert from .jp2 tp .jpg, please help me with your knowledge. Are there any applications/articles that deal with .jp2 images in Pocket PC application?? Any suggestion that solves my problem within minimal time is welcomed!! Thanks
-
As i have already said i am new to these images and their formats, I do not know how these decoders works, i have to find a solution to convert from .jp2 tp .jpg, please help me with your knowledge. Are there any applications/articles that deal with .jp2 images in Pocket PC application?? Any suggestion that solves my problem within minimal time is welcomed!! Thanks
If the "standard"
CxImage
library does the job, and you have the source files (I suppose they are available) then you may have a look at. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
So, why don't you port
CxImage
.jp2
support toWINCE
and write an article about? :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]I even tried doing so just by changing the solution platform to "Pocket PC 2003(ARM)" but i am ending up with error LNK2019: unresolved external symbol "public: bool __thiscall CxImage::Load(char const *,unsigned long)" (?Load@CxImage@@QAE_NPBDK@Z) referenced in function "protected: virtual int __thiscall CMyImageDlg::OnInitDialog(void)" (?OnInitDialog@CMyImageDlg@@MAEHXZ) error LNK2019: unresolved external symbol "public: __thiscall CxImage::CxImage(unsigned long)" (??0CxImage@@QAE@K@Z) referenced in function "protected: virtual int __thiscall CMyImageDlg::OnInitDialog(void)" (?OnInitDialog@CMyImageDlg@@MAEHXZ) My project setting are "Statically linked to MFC" "Using unicode" Thanks!
-
I even tried doing so just by changing the solution platform to "Pocket PC 2003(ARM)" but i am ending up with error LNK2019: unresolved external symbol "public: bool __thiscall CxImage::Load(char const *,unsigned long)" (?Load@CxImage@@QAE_NPBDK@Z) referenced in function "protected: virtual int __thiscall CMyImageDlg::OnInitDialog(void)" (?OnInitDialog@CMyImageDlg@@MAEHXZ) error LNK2019: unresolved external symbol "public: __thiscall CxImage::CxImage(unsigned long)" (??0CxImage@@QAE@K@Z) referenced in function "protected: virtual int __thiscall CMyImageDlg::OnInitDialog(void)" (?OnInitDialog@CMyImageDlg@@MAEHXZ) My project setting are "Statically linked to MFC" "Using unicode" Thanks!
Well, of course changing just the solution platform don't do the trick. You have to port some (i.e. the missing) code from the standard library to the
WINCE
one. You've to put some effort in it, but it may be quite instructive, I suppose. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
Hai! My Requirement : To convert .jp2 image to .jpg in an Pocket PC 2003 application for WINCE device I have been struggling to display an convert different image formats (.jp2, .jpg, .bmp, .png). i have used CxImage to easily convert .jp2 to .jpg. Now i have tried the WINCE version of CxImage, but there the support for .jp2 images has been disabled by defining #define CXIMAGE_SUPPORT_JP2 0 I have also seen http://www.codeproject.com/KB/mobile/png\_\_jpg\_\_etc\_on\_pocketpc here also the .j2k or .jp2 images are not supported. How can i convert .jp2 images to .jpg in my Pocket PC application? Can't we use .jp2 images in Pocket PC applications if yes how? Can i use any converters(free) that can be directly used in my application like: MyJpegConverter.Load (MyImage.jp2) MyJpegConverter.SaveAs (MyImage.jpg) If yes can you suggest any free converter? If possible can you send me links of any Pocket PC applications that deal with .jp2 images conversion?? Thanks!
Have you tried changing the
#define CXIMAGE_SUPPORT_JP2 0
to
#define CXIMAGE_SUPPORT_JP2 1
and re-building it to see what falls out?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
Have you tried changing the
#define CXIMAGE_SUPPORT_JP2 0
to
#define CXIMAGE_SUPPORT_JP2 1
and re-building it to see what falls out?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
After making that change only i have come across the errors that i have mentiontioned in the previous message!
Which errors? There were no errors mentioned in the message I responded to.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
Which errors? There were no errors mentioned in the message I responded to.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
i am ending up with error LNK2019: unresolved external symbol "public: bool __thiscall CxImage::Load(char const *,unsigned long)" (?Load@CxImage@@QAE_NPBDK@Z) referenced in function "protected: virtual int __thiscall CMyImageDlg::OnInitDialog(void)" (?OnInitDialog@CMyImageDlg@@MAEHXZ) error LNK2019: unresolved external symbol "public: __thiscall CxImage::CxImage(unsigned long)" (??0CxImage@@QAE@K@Z) referenced in function "protected: virtual int __thiscall CMyImageDlg::OnInitDialog(void)" (?OnInitDialog@CMyImageDlg@@MAEHXZ) The latest observation is if i am changing some setting in Code generation to [/Mt] [/Mtd] [/Md] etc I get lot of such type of errors ! now after rolling back the settings also still the errors continues i am posting some of the errors Linking... LINK : warning LNK4199: /DELAYLOAD:OleAcc.dll ignored; no imports found from OleAcc.dll MyImage.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE ImageDlg.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE stdafx.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE MyImage.obj : error LNK2001: unresolved external symbol "protected: static struct AFX_MSGMAP const * __stdcall CWinApp::GetThisMessageMap(void)" (?GetThisMessageMap@CWinApp@@KGPBUAFX_MSGMAP@@XZ) MyImage.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CWinApp::OnHelp(void)" (?OnHelp@CWinApp@@IAEXXZ) MyImage.obj : error LNK2019: unresolved external symbol "public: __thiscall CWinApp::CWinApp(char const *)" (??0CWinApp@@QAE@PBD@Z) referenced in function "public: __thiscall CMyImageApp::CMyImageApp(void)" (??0CMyImageApp@@QAE@XZ) MyImage.obj : error LNK2001: unresolved external symbol "public: virtual struct CRuntimeClass * __thiscall CWinApp::GetRuntimeClass(void)const " (?GetRuntimeClass@CWinApp@@UBEPAUCRuntimeClass@@XZ) MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::Serialize(class CArchive &)" (?Serialize@CObject@@UAEXAAVCArchive@@@Z) MyImageDlg.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::Serialize(class CArchive &)" (?Serialize@CObject@@UAEXAAVCArchive@@@Z) MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CWinApp::AssertValid(void)const " (?AssertValid@CWinApp@@UBEXXZ) MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CWinApp::Dump(class CDumpContext &)const " (?Dump@CWinApp@@UBEXAAVCDumpContext@@@Z) MyImage
-
i am ending up with error LNK2019: unresolved external symbol "public: bool __thiscall CxImage::Load(char const *,unsigned long)" (?Load@CxImage@@QAE_NPBDK@Z) referenced in function "protected: virtual int __thiscall CMyImageDlg::OnInitDialog(void)" (?OnInitDialog@CMyImageDlg@@MAEHXZ) error LNK2019: unresolved external symbol "public: __thiscall CxImage::CxImage(unsigned long)" (??0CxImage@@QAE@K@Z) referenced in function "protected: virtual int __thiscall CMyImageDlg::OnInitDialog(void)" (?OnInitDialog@CMyImageDlg@@MAEHXZ) The latest observation is if i am changing some setting in Code generation to [/Mt] [/Mtd] [/Md] etc I get lot of such type of errors ! now after rolling back the settings also still the errors continues i am posting some of the errors Linking... LINK : warning LNK4199: /DELAYLOAD:OleAcc.dll ignored; no imports found from OleAcc.dll MyImage.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE ImageDlg.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE stdafx.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE MyImage.obj : error LNK2001: unresolved external symbol "protected: static struct AFX_MSGMAP const * __stdcall CWinApp::GetThisMessageMap(void)" (?GetThisMessageMap@CWinApp@@KGPBUAFX_MSGMAP@@XZ) MyImage.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CWinApp::OnHelp(void)" (?OnHelp@CWinApp@@IAEXXZ) MyImage.obj : error LNK2019: unresolved external symbol "public: __thiscall CWinApp::CWinApp(char const *)" (??0CWinApp@@QAE@PBD@Z) referenced in function "public: __thiscall CMyImageApp::CMyImageApp(void)" (??0CMyImageApp@@QAE@XZ) MyImage.obj : error LNK2001: unresolved external symbol "public: virtual struct CRuntimeClass * __thiscall CWinApp::GetRuntimeClass(void)const " (?GetRuntimeClass@CWinApp@@UBEPAUCRuntimeClass@@XZ) MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::Serialize(class CArchive &)" (?Serialize@CObject@@UAEXAAVCArchive@@@Z) MyImageDlg.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::Serialize(class CArchive &)" (?Serialize@CObject@@UAEXAAVCArchive@@@Z) MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CWinApp::AssertValid(void)const " (?AssertValid@CWinApp@@UBEXXZ) MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CWinApp::Dump(class CDumpContext &)const " (?Dump@CWinApp@@UBEXAAVCDumpContext@@@Z) MyImage
Your first two linker errors would appear to be because you aren't linking to the CxImage libraries. The other areas are because you're not linking against MFC libraries. It's not difficult - look at the missing symbol names, work out which libraries they come from, add those libraries to the list of 'Additional Dependencies' on the Linker->Input settings.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p