Offset (plugin?) Like Photoshop

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, xnview, Dreamer

Post Reply
Chani
Posts: 4
Joined: Thu Jun 07, 2018 8:52 am

Offset (plugin?) Like Photoshop

Post by Chani » Thu Jun 07, 2018 8:59 am

Is there any way to offset an image by a given amount of pixels, in the same way that the Photoshop offset command works?

I have searched online and in these forums but cannot find anything other than a feature request from 2010 from someone asking for an Offset feature to be added.

User avatar
xnview
Author of XnView
Posts: 31891
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Offset (plugin?) Like Photoshop

Post by xnview » Thu Jun 07, 2018 9:48 am

could you post a screenshot?
Pierre.

Chani
Posts: 4
Joined: Thu Jun 07, 2018 8:52 am

Re: Offset (plugin?) Like Photoshop

Post by Chani » Thu Jun 07, 2018 9:55 am

So the attached screenshot shows the original image on the bottom and then the desired 'offset' image on the top using the Photoshop'offset' filter. I want to be able to move the image by a specific amount of pixels in either direction (left or right) and have the image wrap around.
Attachments
offset example.jpg

User avatar
xnview
Author of XnView
Posts: 31891
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Offset (plugin?) Like Photoshop

Post by xnview » Thu Jun 07, 2018 10:01 am

ok, it move only the picture, right?
Pierre.

Chani
Posts: 4
Joined: Thu Jun 07, 2018 8:52 am

Re: Offset (plugin?) Like Photoshop

Post by Chani » Thu Jun 07, 2018 10:02 am

xnview wrote:
Thu Jun 07, 2018 10:01 am
ok, it move only the picture, right?
Yes, that is correct, all it does is move the picture with a wraparound.

Chani
Posts: 4
Joined: Thu Jun 07, 2018 8:52 am

Re: Offset (plugin?) Like Photoshop

Post by Chani » Fri Jun 08, 2018 6:34 am

So I'm guessing then that there is nothing within the software (or a plugin) at this stage that will be able to do this 'offset'?

I can do it in Photoshop but I have other settings in the XnConvert that I apply at the same time so it would be very useful to keep it all within XnConvert.

User avatar
xnview
Author of XnView
Posts: 31891
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Offset (plugin?) Like Photoshop

Post by xnview » Tue Jun 12, 2018 10:39 am

currently there is no such feature...
Pierre.

User avatar
xnview
Author of XnView
Posts: 31891
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Offset (plugin?) Like Photoshop

Post by xnview » Fri Aug 30, 2019 11:40 am

See issue for current status and some details.
Pierre.

User avatar
xnview
Author of XnView
Posts: 31891
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Offset (plugin?) Like Photoshop

Post by xnview » Tue Sep 17, 2019 10:15 am

This problem is supposed to be fixed in XnView MP 0.94. Please check and confirm the bug fix here.
Pierre.

User avatar
m.Th.
XnThusiast
Posts: 1560
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Offset (plugin?) Like Photoshop

Post by m.Th. » Tue Sep 17, 2019 4:45 pm

You really need to put in the Horizontal and Vertical widgets (Edit Spin Box and Sliders) as maximum value the 2xWidth and 2xHeight respectively.

You have now 6000 which could be too low and besides that we have the opposite extreme: for a very small image such high values produce problems for the „wrap around” option because it appears black instead of really wrapping around the image confusing the user. All these problems can be avoided by putting 2xH and 2xW there.
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

User avatar
xnview
Author of XnView
Posts: 31891
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Offset (plugin?) Like Photoshop

Post by xnview » Thu Sep 19, 2019 9:12 am

m.Th. wrote:
Tue Sep 17, 2019 4:45 pm
You really need to put in the Horizontal and Vertical widgets (Edit Spin Box and Sliders) as maximum value the 2xWidth and 2xHeight respectively.
right
Pierre.

User avatar
m.Th.
XnThusiast
Posts: 1560
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Offset (plugin?) Like Photoshop

Post by m.Th. » Mon Sep 30, 2019 8:26 am

In 0.94b2 is better. However:

Wrap Around setting has problems with negative values:
- Horizontal negative + Vertical 0: Doesn't work at all
- Vertical negative + Horizontal 0: is like an Overwrite not like an Offset

Repeat edges pixels setting works ONLY if BOTH values (Horizontal AND vertical) are different from 0.
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

Post Reply