Bug report #11482

Resize mode Clip behaves like Stretch for Image composer item

Added by Diethard Jansen almost 5 years ago. Updated almost 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Map Composer/Printing
Affected QGIS version:master Regression?:No
Operating System:Ubuntu Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:19752

Description

The Resize modes "Clip" and "Stretch" can be selected in the Item properties after adding an image in the print composer. After selecting the resize mode "Clip", it does what you expect from the "Stretch" mode.

Description from API documentation what Clip should do:
CLIP : Draws image at original size and clips any portion which falls outside frame.

History

#1 Updated by Nyall Dawson almost 5 years ago

Is this using an SVG image?

#2 Updated by Diethard Jansen almost 5 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Yes I used an SVG, I tried it now with a PNG and I am aware now it is meant for raster images only. I will describe it in the manual.
Thanks..

Also available in: Atom PDF