ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Save Tiff File Error

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
supersk Posted - Jul 24 2015 : 04:29:37
I want to save an image to a tiff files as 8 bits and 16 bits, my code as follow:
switch (ImgFmtType) {
	case 0:	//8#20301;TIFF
		imgTmpNavi->IO->Params->BitsPerSample = 8;
		imgTmpNavi->IO->Params->SamplesPerPixel = 1;
		imgTmpNavi->IO->Params->TIFF_DocumentName = "CT";
		imgTmpNavi->IO->Params->TIFF_Compression = ioTIFF_UNCOMPRESSED;
		imgTmpNavi->IO->SaveToFileTIFF(ImgFileName);
		break;
	case 1:	//16#20301;TIFF
		imgTmpNavi->IO->Params->BitsPerSample = 16;
		imgTmpNavi->IO->Params->SamplesPerPixel = 1;
		imgTmpNavi->IO->Params->TIFF_DocumentName = "CT";
		imgTmpNavi->IO->Params->TIFF_Compression = ioTIFF_UNCOMPRESSED;
		imgTmpNavi->IO->SaveToFileTIFF(ImgFileName);
		break;

but I get same result, why? What's wrong? Thank you!
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 03 2015 : 21:37:09
Hi

I can reproduce and it looks to be a bug. We are investigating.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com