Scale node in compositor crops the image #35425

Closed
opened 2013-05-18 22:02:10 +02:00 by Bao 2 · 3 comments

%%%--- Operating System, Graphics card ---
Linuxmint 14, blender 56894

Open the atached blend file and you see it is going to render a 200x300 image.
You see the camera in one of the 3DView and the cube is seen completely by the camera.

In the compositor the render result is scaled 2x then blurred and then scaled down to the original 200x300.
But what happens is different when you press F12: It scales the image but doesn't grow the image size.

I read the wiki just in case this was not a bug "but the way it works in blender" and the wiki says:
"This node scales the size of an image. Scaling can be either absolute or relative. If Absolute toggle is on, you can define the size of an image by using real pixel values. In relative mode percents are used."

So you can try Absolute and enter in the first Scale node the values:
X=400
Y=600

and it doesn't scale to that image size but keeps the image size scaling the content (and croping the image).

This is very need because for example to get rid of noise a very useful trick is to scale the image, then blur it, and then resize again to original size.
I tried in blender internal and in cycles and the bug is in both.

%%%

%%%--- Operating System, Graphics card --- Linuxmint 14, blender 56894 Open the atached blend file and you see it is going to render a 200x300 image. You see the camera in one of the 3DView and the cube is seen completely by the camera. In the compositor the render result is scaled 2x then blurred and then scaled down to the original 200x300. But what happens is different when you press F12: It scales the image but doesn't grow the image size. I read the wiki just in case this was not a bug "but the way it works in blender" and the wiki says: "This node scales the size of an image. Scaling can be either absolute or relative. If Absolute toggle is on, you can define the size of an image by using real pixel values. In relative mode percents are used." So you can try Absolute and enter in the first Scale node the values: X=400 Y=600 and it doesn't scale to that image size but keeps the image size scaling the content (and croping the image). This is very need because for example to get rid of noise a very useful trick is to scale the image, then blur it, and then resize again to original size. I tried in blender internal and in cycles and the bug is in both. %%%
Author

Changed status to: 'Open'

Changed status to: 'Open'
Member

%%%In Blender the render size is the size you get as output. Whatever you scale in node trees gets applied (cropped, inserted) to that size,
If you want larger images, set render size to be large. Blender compositor is an extension of our render pipeline, animation frames by definition are always the same size.

This is an issue we like to work on though, it's called "Canvas awareness" for compositor, where you can define a different output size for it than renders, and transform the renders inside the canvas freely.%%%

%%%In Blender the render size is the size you get as output. Whatever you scale in node trees gets applied (cropped, inserted) to that size, If you want larger images, set render size to be large. Blender compositor is an extension of our render pipeline, animation frames by definition are always the same size. This is an issue we like to work on though, it's called "Canvas awareness" for compositor, where you can define a different output size for it than renders, and transform the renders inside the canvas freely.%%%
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#35425
No description provided.