Home ? Source Code ? CXimage7.02 by VS2005 to verify the available

CXimage7.02 by VS2005 to verify the available

jxaucm
2013-11-27 01:34:22
The author
View(s):
Download(s): 1
Point (s): 1?
Category Category:
Image ProcessingImage Processing CPlusPlus, C-C++C++

Description

北单比分zhibo www.603090.live Cximage bad compilation, this is my latest version 7.02 after verification is available

Simple use of CxImage class under the brief, I hope to come into contact with CxImage friends some help, I use the tools is VS2005

After opening the CxImage works these works can be seen in the following example:

- CxImage

- CxImageCrtDll

- CxImageMfcDll

- dome

- domeDll

- jasper

- jbig

- jpeg

- libdcr

- mng

- png

- tiff

- zlib

Compiled a series of lib, dll files, which is what we need. How it works, I'll introduce later.

1 first of all, we want to make sure is to statically linked in your program or dynamic link, here, I suggest that you use dynamic link, because this library a bit, if you use static linking your application size extra 1MB more.

2. Then decide used in MFC, or CRT used in your environment, this library is dedicated to build both projects for you to create the run-time library that is used in different environments, according to your requirements to select the compilation project of CxImageCrtDll is CxImageMfcDll, if you want to use static library linking, in addition to the two projects do not need to compile other projects that need to be compiled. And refer to the static library to put all these compiled *.lib all copies of the works to go your way.


With static link as an example:

1, after you compile the project, copy the following files to your project

Copy to a new folder in your project the header file include:

xfile.h、ximacfg.h、ximadef.h、ximage.h、xiofile.h、xmemfile.h,

Using a static link need to copy the following files into the newly created folder in lib:

cximage.lib、png.lib、Jpeg.lib、jbig.lib、Tiff.lib、libdcr.lib、jasper.lib、zlib.lib、mng.lib


2, refer to the library in your project, and add the header and library files

#include ".. /include/ximage.h"

#pragma comment(lib, ".. /lib/cximage.lib")

#pragma comment(lib, ".. /lib/png.lib")

#pragma comment(lib, ".. /lib/cximagecrt.lib")

#pragma comment(lib, ".. /lib/libdcr.lib")

#pragma comment(lib, ".. /lib/jasper.lib")

#pragma comment(lib, ".. /lib/jbig.lib")

#pragma comment(lib, ".. /lib/Jpeg.lib")

#pragma comment(lib, ".. /lib/mng.lib")

#pragma comment(lib, ".. /lib/libdcr.lib")

#pragma comment(lib, ".. /lib/Tiff.lib")

#pragma comment(lib, ".. /lib/zlib.lib")

If it is a static link cuff *.lib files have to be referenced in or cannot be linked,

Here one might ask since only contains the "XImage.h" why this header file you want to copy multiple files here?

This is because the "XImage.h" header file that a few header files so you must copy over.


3 configure the VS2005

On the configuration property-> project->-> General

MFC uses: in a shared DLL using MFC

Character set: multibyte character sets

-? configuration property->C/C++->-> property of the project code generation

Runtime:/MD

Precompiled header: do not use precompiled headers




4 use

To display a PNG image as an example

Create a new MFC project CxImageDemo, and then CxImageDemoView.cpp in OnDraw (CDC*pDC) function add:


CxImage image; //Define a CxImage object

image. Load(_T(".. /data/demo.png"), CXIMAGE_FORMAT_PNG); //Load a PNG picture, picture path itself changes

image. Draw(pDC->GetSafeHdc(), 0, 0);


Can


Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
Sponsored links

Comments

(Add your comment, get 0.1 Point)
Minimum:15 words, Maximum:160 words
masterdeba
2016-05-24

Then decide used in MFC, or CRT used in your environment, this library is dedicated to build both projects for you to create the run-time library that is used in different environments, according to your requirements to select the compilation project..

collinson77
2018-06-11

good.........................................

eddie007
2019-08-06

If you ask someone why they play euchre most of them have no idea. Well If you want to https://myeuchre.com where a computer tells u too then this is the game for you.

  • 1
  • Page 1
  • Total 1

CXimage7.02 by VS2005 to verify the available (2.25 MB)

Need 1 Point(s)
Your Point (s)

Your Point isn't enough.

Get 22 Point immediately by PayPal

Point will be added to your account automatically after the transaction.

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more Points

LOGIN

Don't have an account? Register now
Need any help?
Mail to: [email protected]

切換到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
北单比分zhibo

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D
{ganrao}