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
 Problem using Resample with ImageEnDBView

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
Tulloch Posted - Sep 09 2014 : 08:04:30
We are having a strange problem using Resample with an ImageEnDBView component.

The following lines of code all work as expected:

ImageEnDBView1.Proc.Resample(1000, 1000);
ImageEnDBView1.Proc.Resample(-1, 1000);
ImageEnDBView1.Proc.Resample(1000, -1);

Adding the third parameter for FilterType causes a syntax error, E2003 Undeclared identifier: 'rfNone'.

ImageEnDBView1.Proc.Resample(1000, 1000, rfNone);

Thanks in advance for any help with this.
2   L A T E S T    R E P L I E S    (Newest First)
Tulloch Posted - Sep 09 2014 : 09:28:59
Hi Bill,

Thanks very much for the advice. Adding hyiedefs to the uses took care of the problem!

Jim
w2m Posted - Sep 09 2014 : 08:43:46
Do you have hyiedefs in uses?

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development