How to arrange figures on page (table?)

I normally use tables to arrange figures within a page (i.e., a 2col x
1 row for 2 figures) The problem is that normally figures get reshaped
(and distorted) to fit the cell, while what I would like is to get the
cell shape to fit the figure. How can I do it?
Also, is there a better way to arrange figures in a page?
I've tried using columns, but I have the same problem: figures get
reshaped and do not keep their width x height ratio.

Thanks

Agus

Answering myself: had overlooked the option "Image to Warp". The
current and correct console input in the log is now:

FineRegistration -ref
/home/alobo/Downloads/OTB-Data-07368929b3a5/Examples/StereoFixed.png
-sec /home/alobo/Downloads/OTB-Data-07368929b3a5/Examples/StereoMoving.png
-erx 2 -ery 2 -mrx 3 -mry 3 -w
/home/alobo/Downloads/OTB-Data-07368929b3a5/Examples/StereoMoving.png
-cox 0 -coy 0 -ssrx 1 -ssry 1 -rgsx 0 -rgsy 0 -sgsx 0 -sgsy 0 -spa
0.00999999977648 -vmlt 0 -vmut 0 -ram 128 -out
/media/Iomega_HDD/QGISTESTS/testfinereg.tif -wo
/media/Iomega_HDD/QGISTESTS/testfineregwarp.tif

Very confused on how to fine tune this though, as the info in the
cookbook is too scarce. Where can I find info so that
i can understand what I'm doing and try different parameters?

Thanks

Agus

Excuse me, this answer was concerning another message.
My original libreoffice question still remains...
Thanks
Agus

Hi :slight_smile:
Oops.  I'm not easily confused but isn't this confusing?  Errrr, what was the question again?  I mean the unanswered one not the one you solved without our 'help'
Regards from
Tom :slight_smile:

I apologize again. This is my original question:

I normally use tables to arrange figures within a page (i.e., a 2col x
1 row for 2 figures) The problem is that normally figures get reshaped
(and distorted) to fit the cell, while what I would like is to get the
cell shape to fit the figure. How can I do it?
Also, is there a better way to arrange figures in a page?
I've tried using columns, but I have the same problem: figures get
reshaped and do not keep their width x height ratio.

Thanks

Answer below:

I apologize again. This is my original question:

I normally use tables to arrange figures within a page (i.e., a 2col x
1 row for 2 figures) The problem is that normally figures get reshaped
(and distorted) to fit the cell, while what I would like is to get the
cell shape to fit the figure. How can I do it?
Also, is there a better way to arrange figures in a page?
I've tried using columns, but I have the same problem: figures get
reshaped and do not keep their width x height ratio.

Thanks

Hi :slight_smile:
Oops. I'm not easily confused but isn't this confusing? Errrr, what was the question again? I mean the unanswered one not the one you solved without our 'help'
Regards from
Tom :slight_smile:

      I use frames to arrange figures on a page. Each frame is anchored as a character in its own separate paragraph. I also set the alignment in the frame to Center. The figure is anchored as a character. This permits me to place two figures into the frame and have the figures centered.
     When creating the frame, make sure it is larger than the figure or figures that it will contain. If it is one figure, right click the figure and select Position and Size to see what its dimensions are. Then right click the border of the frame and select Position and Size. If necessary, adjust the size of the frame to match the size of the frame or frames.
      I have a paragraph style which has Center as its alignment. This places the figure in the center horizontally.

--Dan

My previous reply may have an error in it: the part about Position and Size. If a figure is a drawing of some type, you need to know its dimensions. Then you can select the size of the frame to match its size. If the figure is a graphics file, you can insert it into the frame. Then right click it. Select Picture from the context menu. When the Picture dialog opens, click the Original Size button. The the Height and Width boxes reveals what the original size is. Then change the size of the frame to match.

--Dan

This solution looks pretty inconvenient, as the figures are not
automatically resized to match the
defined arrangement in the frame. Or am I missing something?
Also, according to your explanation, I do not see how you can arrange
4 figures in a, for example, 2 x 2 distribution.
When you say
"The figure is anchored as a character. This permits me to place two
figures into the frame and have the figures centered."
I presume this is only to put 2 figures in a 2 rows x 1 column arrangement.
Am I wrong? If so, could you explain how to arrange 4 figures as 2
rows x 2 columns in the page?

Thanks

Agus

You are confusing me. You first complain about the figures getting distorted by the cell you place them in. Now you mention that with my suggestion the figures are not automatically resized to match the arrangement in the frame. What is it that you really want? How many figures are you putting together? What type of figures are they? (Are they graphic files or drawings that are not files?) If graphic files, what type are they? (JPG, FIG, PNG, etc.) What space limitations are there? Do the figures usually need to be reduced in size to fit on the page? How much?
      Can I arrange 4 figures in one frame in a 2 row by two column arrangement? Easily. Since the figures are anchored as a character, 2 figures can be placed side by side as I described. Then with the cursor at the right side of the second figure, type the Enter key to create a new line. Add figures # 3 and 4 the same way figures #1 and 2 were added in the beginning.
      In my writing, I have one frame that has 3 figures in a frame (all three are in the same row.
      I look forward to seeing your more detailed explanation of your problem.

--Dan

Dan,

Sorry for confusing you. But please note that

     You are confusing me. You first complain about the figures getting
distorted by the cell you place them in. Now you mention that with my
suggestion the figures are not automatically resized to match the
arrangement in the frame. What is it that you really want?

automatically resizing is not equal to automatically distorting.
What I want is, either using a table, a frame or a several columns page format
(don't know which way would be most efficient), to define first the arrangement
of the figures and then paste them, so that figures adjust themselves to
the predefined arrangement but keeping their ratio, so that they do
not get distorted.
Very seldom the user wants the figures to match a predefined geometry
at the expense of getting distorted, I do not understand why "keep ratio" is
unselected by default in Picture/Type.

I think the example I provided, 4 figures arranged in a 2 x 2 scheme,
is good enough.
Regarding formats, I think that it should not matter, as any figure
should be pasted
without distortion by default.

I've got closer to what I want using a 2 columns page format, but I
had to define the style
and then have to select paste special/Bitmap. And in this way I cannot
make more complex
arrangements, as for example 2 rows with 3 small square figures in the
first row and one
single rectangular figure in the second row.

I think the easiest way would be defining a table, defining the sizes
of the cells and then pasting
the images within the table, getting the images appropriately resized
but without distortion.

Hopefully this clarifies my question.

Thanks for your help,

Agus

You have figures that you want to place on a page. This seems like a very simple request, but it is not. What is the size of the page? What are the sizes of the figures that belong on this page? (e.g., 4 figures which are 6"x8" each will not fit on a page that is 8"x11".) If using a table, what are the height and width of the cells? Is the ratio of the height to width of the cell the same as the the figure's ratio? (If no, then distortion is very likely.) If the figure is larger than the cell, will it have to be reduced enough that it is no longer the quality you want? In other words, you have to define in great detail the entire outline. Writer provides you with a blank page. You have to tell it exactly sometimes in very minute detail what to put where. Nothing is automatic in doing this. If you want things to be automatic, then you need to create a macro to do this. But even then, you would have to define in minute detail what the macro should do.
      I have not included all the possible questions that you need to answer to reveal the steps you need to take. I leave that to you. You begin with the general layout: pictures arranged on a page. Ask what are possible ways to create this layout. Write down the questions and potential answers. If there are problems with the answers, ask what changes can be made to solve these problems. What properties of the figures or table cells or frames are causing the problems? Write all of this down as well.
      This is called breaking the problem down into smaller and smaller problems. Solve the simplest problems will lead to solving bigger problems until the main problem is solved.
      Tables can be used to do what you want to do, but you have to do something with the size of the figures as well as the height and width of the cells of the table. There is a considerate amount of learning that you need to do before you can use this though.
figure dimensions are controlled by the Position and Size dialog Graphic files are controlled by the Picture dialog. Row heights are controlled by the Row Height dialog. (Right click a cell of the row to be changed. Select Row -> Height.) Other table properties are controlled by the Table Format dialog. All of these dialogs are opened by right clicking the cell or figure and selecting from the pop up menu.

--Dan

Steve,
Thanks for your help. Unfortunately, by some reason, I do have different
settings by default on ubuntu, and when I do what you indicate my figures get
the size and shape of the cells.
Regards,

Agus

Hi.
What format are the figures and how are you inserting them.
I have found that I get different results using copy and paste.
When I drag or import a jpeg it has scaling data in the file (dpi). A png works like a jpeg. When I copy to the clipboard and paste it is just bitmap and the table cell expands to fit the image. The image still does not change proportion.
A figure from draw works completely differently.

Steve