If an imported bitmap is resized the raster tools don't seem to be made aware of it. This means the crop tool, for example, is cropping the original dimensions. Is there a way to update this information?
Can you be more specific? Which raster/crop tools you´re talking of? A resized image still contains the same amount of pixels, while Extensions->Raster->Crop will subtract pixels destructively from the bitmap.
Yes. The extension menu under 'raster'. Import a bitmap, resize it smaller, now use raster/crop to trim it, and the raster/crop operation only seems aware of the original import dimensions. This makes the crop useless.
Not sure what you want instead. You can go Edit->Make a Bitmap Copy after resizing and the new size will be applied. But you´ll loose fidelity of course.
The status bar shows the new size but the crop tool isn't aware. This means you can't trim 10px from an edge if the crop isn't aware where the edge is.
As you can see, I imported a flaming pink bitmap (PNG) at 4000xx4000px (native res). Then I manually resized down to 3000x3000px (status bar still reads 4000x4000px). I fired up the crop extension and cropped 1500px off the right edge. This should leave a bitmap 1500x3000px but as you can see, from the WxH boxes at the top, it doesn't. It gives a shape 1875x3000px.
Inkscape uses SVG transforms to squeeze or stretch a bitmap to any size without changing the original resolution. Your 4000x4000px image has a scale factor of 0.75 applied which reduces the display size to 3000x3000px.
In contrast, [Extensions > Raster > Crop] removes pixels from the original bitmap. You removed 1500px, creating a new image (4000-1500=) 2500px wide, and a transformed image (2500*0.75=) 1875px wide.
Hi.
If an imported bitmap is resized the raster tools don't seem to be made aware of it. This means the crop tool, for example, is cropping the original dimensions. Is there a way to update this information?
Thanks.
Can you be more specific? Which raster/crop tools you´re talking of? A resized image still contains the same amount of pixels, while Extensions->Raster->Crop will subtract pixels destructively from the bitmap.
Yes. The extension menu under 'raster'. Import a bitmap, resize it smaller, now use raster/crop to trim it, and the raster/crop operation only seems aware of the original import dimensions. This makes the crop useless.
Not sure what you want instead. You can go Edit->Make a Bitmap Copy after resizing and the new size will be applied. But you´ll loose fidelity of course.
The status bar shows the new size but the crop tool isn't aware. This means you can't trim 10px from an edge if the crop isn't aware where the edge is.
Works here when placed at the page origin:
As you can see, I imported a flaming pink bitmap (PNG) at 4000xx4000px (native res). Then I manually resized down to 3000x3000px (status bar still reads 4000x4000px). I fired up the crop extension and cropped 1500px off the right edge. This should leave a bitmap 1500x3000px but as you can see, from the WxH boxes at the top, it doesn't. It gives a shape 1875x3000px.
As I already said: Make a bitmap copy after resizing (and loose fidelity).
Inkscape uses SVG transforms to squeeze or stretch a bitmap to any size without changing the original resolution. Your 4000x4000px image has a scale factor of 0.75 applied which reduces the display size to 3000x3000px.
In contrast, [Extensions > Raster > Crop] removes pixels from the original bitmap. You removed 1500px, creating a new image (4000-1500=) 2500px wide, and a transformed image (2500*0.75=) 1875px wide.
Thanks, Paddy_CAD. I'd already got there; it just seemed inconsistent and weirdly unuseful.