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
 DEFGIF and DEFTIFF Broken?

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
LanceRasmussen Posted - May 30 2013 : 17:07:08
Received the updated IE so I can install in XE4.

In my XE3 project, I can no longer compile.

DefGIF_LZWDECOMPFUNC:=GIFLZWDecompress;
DefGIF_LZWCOMPFUNC:=GIFLZWCompress;
DefTIFF_LZWDECOMPFUNC:=TIFFLZWDecompress;
DefTIFF_LZWCOMPFUNC:=TIFFLZWCompress;


I uncommented in your demo apps and it doesn't like either.

What's needed to correct, aside from commenting out?
6   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 01 2013 : 19:20:11
Hi

These properties exist for legacy reasons. You should not need to use them as they are initialized automatically:

IEGlobalSettings().DefGIF_LZWDECOMPFUNC
IEGlobalSettings().DefGIF_LZWCOMPFUNC
IEGlobalSettings().DefTIFF_LZWDECOMPFUNC
IEGlobalSettings().DefTIFF_LZWCOMPFUNC

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
w2m Posted - May 31 2013 : 17:35:44
Please explain.

William Miller
LanceRasmussen Posted - May 31 2013 : 17:28:05
Thanks William,

I can confirm that adding ieSettings.IEGlobalSettings. in front fixes the issue for me when trying to compile the sample ImageEX project when uncommenting out the above code.

Thanks!

Lance
w2m Posted - May 31 2013 : 14:51:17
This compiles:

Uses ieSettings;
var
iGIFLZWDecompFunc:  TGIFLZWDecompFunc;
iGIFLZWCompFunc: TGIFLZWCompFunc;
iTIFFLZWDecompFunc: TTIFFLZWDecompFunc;
iTIFFLZWCompFunc: TTIFFLZWCompFunc;
begin
  ieSettings.IEGlobalSettings.DefGIF_LZWDECOMPFUNC :=
    iGIFLZWDecompFunc;
  ieSettings.IEGlobalSettings.DefGIF_LZWCOMPFUNC := iGIFLZWCompFunc;
  ieSettings.IEGlobalSettings.DefTIFF_LZWDECOMPFUNC :=
    iTIFFLZWDecompFunc;
  ieSettings.IEGlobalSettings.DefTIFF_LZWCOMPFUNC := iTIFFLZWCompFunc;
end;

but the compiler says that
iGIFLZWDecompFunc, iGIFLZWCompFunc, iTIFFLZWDecompFunc, and
iTIFFLZWCompFunc may not be initialized.

There is no discussion in the help file and no demos use the new IEGlobalSettings. Fabrizio should update the help file and include at least one demo.

By looking over the code I am not even sure if it is necessary to set the value anymore. There are no public variables for this anymore.

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
LanceRasmussen Posted - May 31 2013 : 14:24:31
I tried and it doesn't work. I still get an Undeclared identifier error.

I've verified my library path goes to the XE3 folder for the DCU's for Imageen.

I've verified my browse path goes to the source directory.

I've uninstalled and recompiled the library manually and installed the component.

I've even moved the PAS file for IESettings to be next to the DCU.
w2m Posted - May 30 2013 : 17:17:51
- removed global fields: iegDefaultCoresCount, iegOpSys, iegUnicodeOS, iegDefaultPreviewsZoomFilter, IEDefDialogCenter,
iegDefaultDialogFont, IEDefMinFileSize, iegAutoLocateOnDisk, iegAutoFragmentBitmap, iegUseGDIPlus,
iegPreviewImageBackgroundStyle, iegPreviewImageBackgroundColor, iegPreviewAdditionalMultipageExts,
iegMemoShortCuts, ieMeasureUnits, gSystemColors, gIsRemoteSession, gSystemDPIX, gSystemDPIY,
gDefaultDPIX, gDefaultDPIY, gMMX, gEdgeX, gEdgeY, gBorderX, gBorderY, gVScrollWidth, gHScrollHeight,
iegMinZoomDisplayGrid, iegGridPen, iegSelectionGridColor, iegMViewExplorerThumbnailExts,
DefGIF_LZWDECOMPFUNC, DefGIF_LZWCOMPFUNC, DefTIFF_LZWDECOMPFUNC, DefTIFF_LZWCOMPFUNC,
iegFileFormats, iegUseCMYKProfile, iegUseDefaultFileExists, iegMaxImageEMFSize, iegEnableCMS,
iegColorReductionAlgorithm, iegColorReductionQuality, iegObjectsTIFFTag, iegUseRelativeStreams,
iegPanZoomQualityFilter, gRedToGrayCoef, gGreenToGrayCoef

Add iesettings to uses.

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html