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
 Error Show Image Full

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
khorsandreza Posted - Sep 09 2017 : 08:38:57
Hello friends
I'm having trouble calling the image.
Parts of the image are not displayed in ImageEnView1 Please look at the picture below.
The command ImageEnView1.Fit Does not change.


My main image is this



6   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Sep 11 2017 : 05:29:50
Hi

Those units exist only in ImageEn 7.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
khorsandreza Posted - Sep 11 2017 : 04:13:27
Hi
In all demos, three units are called.
iexBitmaps.pas, iexLayers.pas, iexRulers.pas I do not have these units in the trial version. Where do I download these?
khorsandreza Posted - Sep 11 2017 : 02:44:15
Hello
thanks for your help .
(I apologize first, my English language is weak)
Yes, I'm using the trial version 4, I'm checking more. If I need to, get the full version. I just got used to this software. There are some great features. I used to use various components for my work, and I had a lot of problems. It seems all my requirements for image management are anticipated in this software.
Sincerely R.K
xequte Posted - Sep 10 2017 : 19:04:17
Hi

It looks like you are using an old version, as LayersSync is no longer used. Can you clarify what version of ImageEn this is?

BTW, (in newer versions) LoadFromFile automatically checks the file extension so your code can be replaced by:

procedure TDetailForm.SelectvipimageKeyClick(Sender: TObject);
begin
  if OpenImageEnDialog1.Execute then
  Begin
    cl_rgb := TColor2TRGB( clWhite );
    ImageEnView1.Proc.SetTransparentColors(cl_rgb,cl_rgb);
    ImageEnView1.LayersAdd;
    ImageEnView1.IO.Params.PSD_LoadLayers := True;
    ImageEnView1.IO.LoadFromFile(OpenImageEnDialog1.FileName) ;
    ImageEnView1.Update;
  End;
end;



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
khorsandreza Posted - Sep 10 2017 : 05:21:04
hi
This is the code to load the image


procedure TDetailForm.SelectvipimageKeyClick(Sender: TObject);
Function GetFileExtID(Ext:String):Integer;
 Begin
   Ext := LowerCase(Ext);
   if  Ext='.jpg' then Result := 1 Else
   if  Ext='.png' then Result := 2 Else
   if  Ext='.bmp' then Result := 3 Else
   if  Ext='.psd' then Result := 4 Else
   if  Ext='.gif' then Result := 5 Else
   if  Ext='.tif' then Result := 6 Else
   if  Ext='.pcx' then Result := 7 Else
   Result := 0;
 End;
begin
if OpenImageEnDialog1.Execute then
   Begin
    // _DefaultFileName := OpenImageEnDialog1.FileName ;
     cl_rgb := TColor2TRGB( clWhite );
     ImageEnView1.Proc.SetTransparentColors(cl_rgb,cl_rgb);
     ImageEnView1.LayersAdd;
     ImageEnView1.IO.Params.PSD_LoadLayers := True;
     case GetFileExtID(ExtractFileExt(OpenImageEnDialog1.FileName)) of
       0 : ImageEnView1.IO.LoadFromFileAuto(OpenImageEnDialog1.FileName) ;
       1 : ImageEnView1.IO.LoadFromFileJpeg(OpenImageEnDialog1.FileName) ;
       2 : ImageEnView1.IO.LoadFromFilePNG(OpenImageEnDialog1.FileName) ;
       3 : ImageEnView1.IO.LoadFromFilePSD(OpenImageEnDialog1.FileName) ;
       4 : ImageEnView1.IO.LoadFromFilePSD(OpenImageEnDialog1.FileName) ;
       5 : ImageEnView1.IO.LoadFromFileGIF(OpenImageEnDialog1.FileName) ;
       6 : ImageEnView1.IO.LoadFromFileTIFF(OpenImageEnDialog1.FileName) ;
       7 : ImageEnView1.IO.LoadFromFilePCX(OpenImageEnDialog1.FileName) ;
     end;
     //ImageEnView1.Proc.RoundImage(100, 100);
     ImageEnView1.LayersSync  := True;
      ImageEnView1.Update;
   End;
end;
xequte Posted - Sep 10 2017 : 03:48:05
Hi

What code did you use to load the image?

I.e., has it been loaded into layer 1, and layer 0 is empty?



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