博文
图像处理源码,大家交流交流!!(2005-06-29 21:57:00)
摘要:#include <vcl.h>
#pragma hdrstop
#include<stdio.h>
#include "Unit1.h"
#include "Unit2.h"
#include "Unit3.h"
#include"jpeg.hpp"
#include<math.h>
#include<malloc.h>
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
long w,h;
int ImageLoad;
Byte *pixels;
TRect fRect;;
int ShowScale;
TForm1 *Form1;
bool s1;
int s2,s3;
AnsiString val;
//char val;
int m,n;
Graphics::TBitmap *Bitmap;
void zoomshow(int k);
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::N18Click(TObject *Sender)
{ AboutBox1->ShowModal();
}
//-------------------------------------------------------......
