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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Visual component crop image for unigui
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

ali

Iran
110 Posts

Posted - Oct 11 2019 :  00:58:03  Show Profile  Reply
Hi Nigel

Unigui is best and easy framework for Delphi web applications tool pregaming.
Many Delphi developer use this good tool for programming.
Please you will add imageen properties for unigui.
We can all none visual component for unigui.
But we ca not use visual component for unigui.
Please you will add imageen properties for unigui then all developers can use imageen for image proceeding for web applications programming.
For fist time you will add imageen component for desired (ideal) rectangle crop image.
We can use none visual component of imageen for unigui.
If you will add a visual component for unigui then it is first imageen processing component for web applications programming with Delphi.
Atleat you will make a sample for desired (ideal) rectangle crop image with unigui framework.
I can test and help you in this case.


http://www.unigui.com

Best Regards

Ali Abbasi

xequte

38182 Posts

Posted - Oct 11 2019 :  02:16:20  Show Profile  Reply
Hi

UniGui does look cool, but we have our hands full with our existing platforms. You can suggest it on our UserVoice page:

https://www.imageen.com/ieforum/topic.asp?TOPIC_ID=823


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ali

Iran
110 Posts

Posted - May 29 2020 :  09:12:43  Show Profile  Reply
Hi Nigel

Now Many Delphi developers working with web-based with unigui framework.
If unigui working with unigui then it is nice!

Or at least if you will prepare a sample for image crop with aspect ratio for person photos in unigui then it is very useful for us.

Best regards

Ali Abbasi
Go to Top of Page

xequte

38182 Posts

Posted - May 29 2020 :  20:03:53  Show Profile  Reply
Hi Ali

Sorry, that is not an area we have enough time to pursue.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

yogiyang

India
725 Posts

Posted - Jun 04 2020 :  08:30:15  Show Profile  Reply
Hello Ali,

Why don't you give a try to ImageMagik DLL it will do most of the image processing things and besides WIndows it is also available for Linux as well as Mac OSX.


Yogi Yang
Go to Top of Page

ali

Iran
110 Posts

Posted - Sep 03 2020 :  08:05:33  Show Profile  Reply
Dear Nigel

I wrote below code for image crop for uniGUI framework and it working good.
Do you have solution for select a two points in left-top and bottom_right for Image (standard image component Delphi) for crop area?
If yes, You fix my problem.
Or I want select box of crop with aspect ratio for Image.
Please see in the attachment image.

procedure TPictureForm.btn13Click(Sender: TObject);
var
 iebmp : TIEBitmap ;
 jpg: TJPEGImage;
 bmp: TBitmap;
begin
  jpg:=TJPEGImage.Create;
  iebmp := TIEBitmap.Create;
  ImageEnProc1.AttachedIEBitmap := iebmp;
  ImageEnIO1.AttachedIEBitmap   := iebmp;
   try
   bmp := TBitmap.Create;
   ImageEnIO1.AttachedBitmap:= bmp;
   ImageEnIO1.Bitmap.Assign(DBImage1.Picture.Graphic);

   ImageEnIO1.IEBitmap.Crop(20, 20 ,ImageEnIO1.IEBitmap.Width-20,ImageEnIO1.IEBitmap.Height-20 );
   Image1.Picture.Bitmap.Assign(ImageEnIO1.Bitmap);

   finally
    iebmp.Free;
    jpg.Free;
    bmp.Free;

    ImageEnIO1.Free;
    ImageEnProc1.Free;
  end;
end;

Thank you and best regards

Ali

Go to Top of Page

xequte

38182 Posts

Posted - Sep 04 2020 :  18:35:58  Show Profile  Reply
Hi Ali

I don't believe selection is possible in the standard TImage component.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ali

Iran
110 Posts

Posted - Sep 12 2020 :  08:22:15  Show Profile  Reply
Dear Yogi Yang

please send me link of it DLL.

Best Regards

Ali Abbasi
Go to Top of Page

yogiyang

India
725 Posts

Posted - Sep 13 2020 :  02:50:45  Show Profile  Reply
Please look this up and download what is appropriate for you.
 
https://imagemagick.org/index.php


There are a few samples as to how to use its command line version (.exe) as well as library version (.dll).


Yogi Yang
Go to Top of Page

ali

Iran
110 Posts

Posted - Sep 13 2020 :  03:51:49  Show Profile  Reply
Hi Yogi

I can not find Delphi sample for image crop in it link address.


Best Regards

Ali Abbasi
Go to Top of Page

ali

Iran
110 Posts

Posted - Sep 24 2020 :  01:03:45  Show Profile  Reply
Hi Nigel

Unfortunately you told me which you can not make a crop image with TImage Delphi.
Okey, please you add it property image crop with aspect ratio with TImage and ImageenIO with a sample demo which all developers most use imageen.
It useful for web base programming with Delphi in unigui and intraweb and other framework.

Best Regards

Ali Abbasi
Go to Top of Page

xequte

38182 Posts

Posted - Sep 24 2020 :  03:17:41  Show Profile  Reply
Hi Ali

Unfortunately, I don't think TImage has enough functionality to make it adequately replicate TImageEnView features.

It does not even have selections, so you you need to draw your own selection and handle their resizing, etc.

Once you had the bitmap and the selection rectangle you could pass that to ImageEn to be cropped.




Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ali

Iran
110 Posts

Posted - Sep 24 2020 :  09:59:22  Show Profile  Reply
Hi Nigel

Thank you for your attention.
If you will make crop image a Delphi demo with TImage and ImageenIO (none visual components) then it very usefull for us.

Best Regards

Ali Abbasi
Go to Top of Page

xequte

38182 Posts

Posted - Sep 24 2020 :  17:52:42  Show Profile  Reply
Hi Ali

I'm afraid that adding features to TImage is outside of the area of ImageEn.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ali

Iran
110 Posts

Posted - Sep 25 2020 :  01:45:05  Show Profile  Reply
Hi Nigel

I do not clear understand your last answer.
Do you afraid which your sample independent from imageen then developers use your sample whiout imageen?

Also I make a image crop with TImage and fixed my problem.
But is better which TImage and ImageenIO together have this property.
Because you have good exprinence for image processing.
Also after that imageen to be complete image processing for all conditions (Delphi desktop and webbase platforms programming).



Best Regards

Ali Abbasi
Go to Top of Page

xequte

38182 Posts

Posted - Sep 25 2020 :  05:36:29  Show Profile  Reply
Sorry Ali,

What I mean is that adding selection functionality to TImage would be a big undertaking and is not really related to ImageEn.



Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: