https://bugs.documentfoundation.org/show_bug.cgi?id=161515

--- Comment #6 from Eyal Rozenberg <[email protected]> ---
(In reply to Heiko Tietze from comment #3)
As I can do this using the instructions you gave:

> You have to
> duplicate the raster graphic and crop both sides from left and right. 

Then surely it can't be

> Out of scope for an office suite and a vector drawing tool. 

can it?

> process the content with a specialized tool like GIMP.

A tool like GIMP would not, by design, create two separate edited images from a
single image. It may create layers, selections, masks etc. - and of course you
can duplicate and image and cut the two complementing pieces - but it is really
not the right tool for the job. A vector graphics drawing app - is.

Now, one could argue about whether this merits its own command, but definitely
in scope.

(In reply to V Stuart Foote from comment #4)
> The slice needs to split the image into its two parts, resulting in two new
> objects (bmps, or even draw objects?). 

This is not a trivial question actually. If it's just two images, than the
slicing must be along a vertical or horizontal line. If any line is allowed for
the slicing, then the result would either be an image with some trapezoidal
transparent region, or a drawing object which uses the image as its area fill
(apologies for the use of inexact terminology).

> But is this really in scope to do internally? Lots of utilities (GUI and
> CLI) for doing this already,

Actually - I don't think so. ImageMagick can do it, because it's scriptable and
supports multiple write command, but that's more like programming that using a
utility. GUI - not sure you'll find many apps/utilities which are not
single-file transformers.

>  adopt an external lib to do it internally,

For the vertical or horizontal slicing only - we don't need anything; like
Heiko noted, at worst it means duplicating and cropping complementing regions.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to