|
Hi Hamid,
Thanks for your reply.But I failed to get it. In your free time plz send me the code.I think no of lines will be limited to max 10.So won't take more time.
Thanks & Regards.
|
|
|
|
|
But why you dont use of Codeproject's articles they used of fast way because dont know I saw them on the codeproject or codeguru its better you see here and there.
|
|
|
|
|
Hi All,
I need to access the java servlet in C++ application(not MFC or VC++).I found in VC++ But i dont know how to implement in C++.
Please help me.......
Thanks & Regards,
Anitha
|
|
|
|
|
Does the VC++ solution have anything GUI or Windows centric in it?
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
That application is Dialog based Application.
|
|
|
|
|
How the data is obtained and how that data is presented are separate issues. You indicated earlier that you found a VC++ solution. It stands to reason that you should be able to extract the portion of that code that just deals with the Java servlet.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
DavidCrow wrote: It stands to reason
Good One!
led mike
|
|
|
|
|
How to Convert a BMP Image to a JPEG ...
|
|
|
|
|
Can you be a little less lazier than that?
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
Probably not - read between the lines:
How to Convert
urgentzz
BMP Image to a JPEG
plzz sendz codez
|
|
|
|
|
|
Rajesh R Subramanian wrote: Can you be a little less lazier than that?
Yes, he can add another
How to Convert a BMP Image to a JPEG ...
line to the message text.
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]
|
|
|
|
|
Open it in MSPaint, File - Save As , save as JPEG file type.
Peace!
-=- James Please rate this message - let me know if I helped or not!<hr></hr> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
#include <atlimage.h>
...
CImage bmpimg;
bmpimg.Load(_T("c:\\some.bmp"));
bmpimg.Save(_T("c:\\some.jpg"), ImageFormatJPEG);
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
i need covert JPEG to BMP. can you tell specific for CImage. thank very much.
|
|
|
|
|
#include <atlimage.h>
...
CImage img;
img.Load(_T("c:\\some.jpg"));
img.Save(_T("c:\\some.bmp"), ImageFormatBMP);
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
this is CImage of .net. i need source = VC++6.0. thank very much
|
|
|
|
|
CImage is a class shared by ATL and MFC these days.
It uses GDI+ for image loading and saving.
Here's the GDI+ version:
#include <gdiplus.h>
int GetEncoderClsid(const WCHAR* format, CLSID* pClsid)
{
UINT num = 0;
UINT size = 0;
ImageCodecInfo* pImageCodecInfo = NULL;
GetImageEncodersSize(&num, &size);
if(size == 0)
return -1;
pImageCodecInfo = (ImageCodecInfo*)(malloc(size));
if(pImageCodecInfo == NULL)
return -1;
GetImageEncoders(num, size, pImageCodecInfo);
for(UINT j = 0; j < num; ++j)
{
if( wcscmp(pImageCodecInfo[j].MimeType, format) == 0 )
{
*pClsid = pImageCodecInfo[j].Clsid;
free(pImageCodecInfo);
return j;
}
}
free(pImageCodecInfo);
return -1;
}
...
ULONG dwToken;
Gdiplus::GdiplusStartupInput input;
Gdiplus::GdiplusStartupOutput output;
Gdiplus::Status status = Gdiplus::GdiplusStartup(&dwToken, &input, &output);
if(status == Gdiplus::Ok)
{
Gdiplus::Bitmap *pSrcBitmap = new Gdiplus::Bitmap(L"c:\\test.jpg", FALSE);
CLSID bmpClsid;
GetEncoderClsid(L"image/bmp", &bmpClsid);
pSrcBitmap->Save(L"c:\\test.bmp", &bmpClsid);
delete pSrcBitmap;
Gdiplus::GdiplusShutdown(dwToken);
}
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
can you sent full code to me. wish your help. thanks very much
|
|
|
|
|
You can use of CImage class with Save function of it.
|
|
|
|
|
Hi to all,
I need to convert an array of bitmap to a compress format (avi, mpeg4 and so on). Do you have any idea how to do it in C++???
Regards,
Daniele
|
|
|
|
|
Do you want to make a video files?
|
|
|
|
|
How i can change the policies programatically? I tried it with LSA functions... but i am not getting it yet. I came to know that its stored in files... but nothing works.... Please help me out...
Thanks in advance.
|
|
|
|
|
In ABC triangle, there are A and B coordinates are given, AB, AC and BC distances are known, the ACB angle is 90'. How to find C point x,y coordinates?
chesnokov
|
|
|
|
|
Stolen membership?
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]
|
|
|
|