Don't understand behavior of VS when importing a bitmap



  • ( VS 1.1.092 )
    Actually, I just want to import a bitmap into VS
    whose original size is preserved. But VS keep only
    the original size by drag and drop a Bitmap into VS.

    Here the cases where i don't really understand
    why the Bitmap would be scaled or clipped.

    First case
    Empty Artboard
    When i Import a bitmap in this case,
    it will be scaled up to the size the Artboard.
    Is there a setting to turn this off?

    Second
    Artboard with one Object, nothing is selected.
    Importing a Bitmap, will be upscaled (transformed)
    could only go back to its original size when i
    delete that transforming.
    see video

    Third
    In this case I have a artboard that has a Shape on it
    which is selected .
    When I import a bitmap here, the bitmap is clipped
    into that shape. Well, it looks like clipped
    but behaves weird.
    Video here too


  • administrators

    @Subpath The first and second case are the same: the import is scaled to the artboard (by design).
    I will turn this off for the next build.

    The third case, will remain. Here the image is placed into the selected object (deselect first, if this is not needed).

    As for the editing of the clipping shape: in this case the image size and position is automatically adjusted to the frame size.
    The size adjustment can be turned off with Object -> Content -> Relative to Frame option.

    The cases where an image is imported "into" a shape or an already imported image is "placed" into the shape are different.
    In the first case, the image object will have its clipping path.
    In the second case, the image object is rectangular and this object is clipped into another one.



  • @VectorStyler said in Don't understand behavior of VS when importing a bitmap:

    I will turn this off for the next build.

    Thanks, appreciate it. I think most users expect a bitmap
    to retain its size when imported.

    The third case is not really a problem just mentioned it because
    it looks clipped but works differently.


  • Global Moderator

    @VectorStyler said in Don't understand behavior of VS when importing a bitmap:

    @Subpath The first and second case are the same: the import is scaled to the artboard (by design).
    I will turn this off for the next build.

    Suggestion: keep the current behavior when a modifier key is held down while dragging. I believe the indicated behavior may be useful at times so it would be sad to lose it completely.



  • @VectorStyler If possible, dragging an image from the Finder should make
    the Finder window disappear as soon as the cursor with the object hovers
    the app's window.

    This way you can have (or implement) more control over where you want
    the image to be placed — on the artboard or directly inside an object.


  • administrators

    @b77 said in Don't understand behavior of VS when importing a bitmap:

    If possible, dragging an image from the Finder should make
    the Finder window disappear as soon as the cursor with the object hovers
    the app's window.

    I think this is controlled by MacOS and I would not interfere with it.



  • @VectorStyler Yep, I suspected that.