multiSnow / mcomix3

End of Fork
Other
97 stars 39 forks source link

[feature] current zoom + position arguments as variables in external command #133

Closed andykais closed 3 years ago

andykais commented 3 years ago

currently the external commands have a variable '{image}'. This is great for external scripting. Sometimes though, I have an image that I have zoomed in on, and moved it around. Itd be awesome if there were variables for the current position available to the external commands. To describe what I am talking about, here is an example external command entry:

convert '{image}' -crop '{zoom_width}x{zoom_height}+{x}+{y} cropped.jpg

The variables would be:

this lets me crop the image to the current size I have visible in the mcomix window. I know mcomix isnt a photo editor, but there are times when I use it to peruse a folder and want to crop some images. I could take a stab at implementing this if it makes sense to anyone else, and if I had a little guidance