Jump to content

Position elements by coordinates


Recommended Posts

Is there anything new in this topic? Is there any way how to place a selection into exact position by coordinates? Typical task is this:

I have two images taken from a tripod, so some parts are exactly the same pixel by pixel. And I want to create the third image from parts of those two:

car2.png.151d93165741e3efa92e1702fac50e5f.pngcar1.png.52e268fcb68c75483c9b133d733b59c7.png

without.png.42d6e746050669342236b59f288f7aa5.png

The only way I discovered so far is to make a selection in one image, write down to paper "Selection top left" coordinates, copy the selection, paste it to result, and then move it to its position using that recorded coordinates. It is slow and time consuming, but far better than trying to place it "by eye", which is almost impossible in complex images.

 For instance IrfanView allows to save and recall selection size and position, but on the other hand it allows only single rectangle selection, so I would like to use PDN for such tasks.

Link to comment
Share on other sites

  1. Put your two images on a layer each.
  2. Lower the opacity of the top layer so you can see the layer beneath as well.
  3. Zoom in.
  4. Activate the Move tool :MoveTool: and use the arrow keys to move the top layer pixel by pixel (or CTRL + arrow keys for 10px steps) until they line up.
  5. Flatten and Save As.....
Link to comment
Share on other sites

18 hours ago, Ego Eram Reputo said:
  1. Activate the Move tool :MoveTool: and use the arrow keys to move the top layer pixel by pixel (or CTRL + arrow keys for 10px steps) until they line up

 

Imagine for instance grass, sand, foliage, smooth surface, simply no edges or orientation points or contrasting spots anywhere in the image. As I said, almost impossible to line up "by eye", tending to errors. In such case using opacity is also useless. My approach with pencil and paper is still much better  :-( .

 

Update:

But you inspired me and I have found this workaround:

 Both images to two layers, and because one selection works for both of them, I can do Copy/Paste with changing the active layer, without any use of the Move tool. If I had some keyboard shortcuts for switching active layer, I need not anything else...

Edited by bflmpsvz
Link to comment
Share on other sites

Since Paint.NET 4.1 you can copy the selection size and location data to the clipboard using Edit > Copy Selection.

See https://www.getpaint.net/doc/latest/EditMenu.html#9.2

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
Share on other sites

52 minutes ago, null54 said:

Since Paint.NET 4.1 you can copy the selection size and location data to the clipboard using Edit > Copy Selection.

See https://www.getpaint.net/doc/latest/EditMenu.html#9.2

It sounds hopefully, but I have older PDN, so I cannot try it. If there is something like "Paste bitmap in clipboard into selection", it is probably what I need (IfranView works this way).

Link to comment
Share on other sites

You need to upgrade. There are lots of improvements. Like the feature @null54 mentioned.

 

Upgrading is free 😁

 

There is a fill from clipboard plugin you might be interested in checking out.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...