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
 Redraw a grid cells in TImageEnVect
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jwest

Brazil
67 Posts

Posted - Jun 25 2011 :  08:57:20  Show Profile  Reply
Hi,

I have a TImageEnVecT where I divide it with rectangles using rows and cols(2x2,3x4...) forming a Grid.
I put different images into each cell, using RenderToTIEBitmapEx.
When I change the number of rows and cols, IŽd like to resize each image in the cells to your new cell coordinates.
How could I loop into each cell, take your bitmap and resize it to the new cell size?
Please, some help will be wellcome.

Regards,

Luiz

xequte

38517 Posts

Posted - Jun 25 2011 :  22:11:50  Show Profile  Reply
Hi Luiz

Firstly, can I ask what your purpose is in doing this? E.g. is it for printing purposes?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

jwest

Brazil
67 Posts

Posted - Jun 26 2011 :  06:29:40  Show Profile  Reply
Hi,

First, I want to do it on Screen. The next step, IŽd like to print.

Regards,

Luiz
Go to Top of Page

fab

1310 Posts

Posted - Jun 26 2011 :  12:01:53  Show Profile  Reply
>When I change the number of rows and cols, IŽd like to resize each image
>in the cells to your new cell coordinates.
>How could I loop into each cell, take your bitmap and resize it to the new cell size?

Why not just re-execute the code used to draw the initial grid with the new parameters?
Go to Top of Page

xequte

38517 Posts

Posted - Jun 26 2011 :  16:16:23  Show Profile  Reply
Also, have you considered whether you were better to use a TImageEnMView? It supports displaying photos in grid format and they can then be printed using TImageEnMView.MIO.PrintImages:

http://www.imageen.com/help/TImageEnMIO.PrintImages.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

jwest

Brazil
67 Posts

Posted - Jun 27 2011 :  16:00:41  Show Profile  Reply
Hi,

My problem with TImageEnMview is that I need forward changes in Timageenvect(used to edit vectorial,flip...) back to TImageEnMview. But I think, ImageEnMView is not ablle to show vectorial objects.

Thank you for your advice,

Luiz
Go to Top of Page

xequte

38517 Posts

Posted - Jun 27 2011 :  22:51:04  Show Profile  Reply
Hi Luiz

Yes, that is correct, only TImageEnVect can handle vectorial images (I had thought that perhaps you were only designing an image grid for printing).



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