Distributing more than 16 imported images does not maintain the order of import.

Asked by SURAJIT BHAKTA

I have a large number of image files of size 256X256 which are a part of a large MAP. I have to place them side by side to get the full picture.
When I made small number of pieces, i.e. 16 rows and 16 columns of that picture, and imported all 16 images of a single column with multiple import (drag and drop) and distribute centres equidistantly vertically, it is fine. But when I make the number of pieces more than 16 to get better resolution, (in my case it is 101, i.e. 101 rows) the order of import (multiple import by drag and drop) remains at order; But on distributing them with centres equidistantly vertically (with the same previous process) the whole order gets haphazard.
This happens when I import only 17 images also.
Is there any way to solve this? Or there is any restriction of 16 objects order in memory of Inkscape when distributing?

Question information

Language:
English Edit question
Status:
Expired
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Hachmann (marenhachmann) said :
#1

Hi Surajig Bhakta,

not sure, but maybe this explains what the Arrange (formerly 'Rows and Columns') dialog does:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Align.html#Align-Grid (Or do you somehow use the Align and Distribute dialog for this?)

So when you do a multi-import of objects that all have the same size, then they are all placed directly upon each other. In that case, there's no information the algorithm can use to determine the order in the grid, as it attempts to just 'reinforce' the current order. Somehow, it seems to take the stacking order into account a little, but sometimes the result is reversed, and the first image is sometimes at the end (while the second is at the beginning).

If you could explain your goal with a few pictures, then maybe you could make this a feature request. Import order itself seems to only depend on the ordering in the file list dialog (for me).

Kind Regards,
 Maren

Revision history for this message
Hachmann (marenhachmann) said :
#2

Sorry, I meant Sujarit :)

Revision history for this message
SURAJIT BHAKTA (surajit697) said :
#3

Hi Hachmann,

I am new to launchpad and I dont know if there is any option to attach an image file or not. If there is any option, tell me, I'll show you the output what I am trying to say.

Yes, not the Rows and Columns, I used the Align and Distribute dialog for this. The problem is not only with importing images but with created objects also. Suppose I create a square box and duplicate them and numbered them according to their time of creation. The box with the highest number will be on top, and the lowest number will be at bottom. And now when I drag the top box at a distance enough that on distribution of that objects, they do not overlap each other, the order of the items get haphazard.

I created box with numbers 1,2,3,4, ...... 21 and I want them to align like below:

1
2
3
.
.
.
21

But it is not in that way. But when the number of items comes to 16, those are perfectly arranged like this. i.e.

1
2
3
.
.
.
16

I am thinking that there may be a restriction of this distribute dialog on the number of items it can handle in an orderly manner.

PS: If there is any option of sharing image files here, please let me know.

Revision history for this message
Hachmann (marenhachmann) said :
#4

Hi Surajit,

one can only include links for image files here in this answers section, unfortunately. You didn't overlook anything...

You could use imgur.com or another picture hoster to share your screenshots, then it will indeed be easier to try and reproduce your results.

Kind Regards,
 Maren

Revision history for this message
SURAJIT BHAKTA (surajit697) said :
#5

I have created the situation to show what has happened with me.... Here is the image link.

http://i.imgur.com/wJqf0uh.png?1

Hope this image can explain what I was trying to say.

Revision history for this message
Hachmann (marenhachmann) said :
#6

Thank you, Surajit, now I was able to reproduce the result.

It's the same in the development version as in 0.91.
I've looked through the current bug reports and could not find something similar.

Would you make a bug report (https://bugs.launchpad.net/inkscape) about the 'Align and Distribute dialog not respecting stacking order if > 16 objects are selected' where you

- list all the steps you took to get to that result (you can leave out that it was imported images, it seems to concern all objects), including which buttons you clicked
- tell developers about your operating system and Inkscape version.
- append a file that contains all the objects that are needed to see the issue and test for it
- append the screenshot

(appendices do work for bug reports...)

The manual doesn't tell us anything about how the order of the aligned objects is supposed to be determined, unfortunately :/ But the current way seems to be inconsistent, at least.

Kind Regards,
 Maren

Revision history for this message
Hachmann (marenhachmann) said :
#7

Just in case anyone else stumbles about this: the bug Surajit reported is:
https://bugs.launchpad.net/inkscape/+bug/1587045

Revision history for this message
Launchpad Janitor (janitor) said :
#8

This question was expired because it remained in the 'Open' state without activity for the last 15 days.