# Create Image

**URL:** <https://www.ruby-forum.com/t/create-image/182331>\
**Category:** wxRuby\
**Created:** [January 26, 2010, 5:37pm UTC](https://www.ruby-forum.com/t/create-image/182331 "2010-01-26T17:37:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tejo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8797f3/32.png) [@tejo](https://www.ruby-forum.com/u/tejo)\
**Post date:** [January 26, 2010, 5:37pm UTC](https://www.ruby-forum.com/t/create-image/182331/1 "2010-01-26T17:37:50Z")

</div>

I, i’m a problem with wx.  
I will do realized a software who take 8 piece of a photo frame and  
place a jpeg image on the middle of frame .  
How display them? How gem i will use ?  
I try with a Flex Grid Sizer but the result isn’t good.  
Thanks

---

<div class="post-metadata">

**Author:** ![tejo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8797f3/32.png) [@tejo](https://www.ruby-forum.com/u/tejo)\
**Post date:** [January 27, 2010, 3:14am UTC](https://www.ruby-forum.com/t/create-image/182331/2 "2010-01-27T03:14:02Z")

</div>

Not quite sure what you want  
if you want similar size of every frame,  
there is Grid Sizer

---

<div class="post-metadata">

**Author:** ![tejo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8797f3/32.png) [@tejo](https://www.ruby-forum.com/u/tejo)\
**Post date:** [January 27, 2010, 4:43pm UTC](https://www.ruby-forum.com/t/create-image/182331/3 "2010-01-27T16:43:52Z")

</div>

hendra kusuma wrote:

> Not quite sure what you want  
> if you want similar size of every frame,  
> there is Grid Sizer

Not exactly. I’m try to compose an image by use 9 differt image, 8 like  
this

* * *

- 

```
  *

```

* * *

and one in the middle . The picture will united to make a photo frame,  
and the \* are resize a run time .  
I try with GridSizer but i want no space within the picture .  
Thanks

---

<div class="post-metadata">

**Author:** ![tejo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8797f3/32.png) [@tejo](https://www.ruby-forum.com/u/tejo)\
**Post date:** [January 28, 2010, 3:07am UTC](https://www.ruby-forum.com/t/create-image/182331/4 "2010-01-28T03:07:34Z")

</div>

On Wed, Jan 27, 2010 at 10:43 PM, Matteo Picciolini  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> - 
> 
> ```
> *
> 
> ```
> 
> * * *
> 
> and one in the middle . The picture will united to make a photo frame,  
> and the \* are resize a run time .  
> I try with GridSizer but i want no space within the picture .  
> Thanks

unfortunately, I am not good with this  
but from my short experience with wx lib, your best shot would probably  
your previous flex grid sizer

unless you decide not to use wx, then SDL gem can be a consideration  
since it is a lib for making a game, you should have all necessary  
function  
to work with image
