Sunday, January 20, 2013


Hi nuker's finally found a solution for our long time wish and expectation. Now you can save image from the viewer. Like eyeon fusion and other application. will allowing you to choose the path and file name and type. Now you can choose the image as any format (which ever nuke support). example jpg, tga, tiff, png et.

Added extra future channels. user can select channels to save image.

Added extra future while saving as exr you can choose the Data type. Default its in 16bit-half, either you can choose32-bit float. Fixed sub-sampling to 4:4:4 while save as .jpg.

Go to active viewer and right click select the save image as. It will pop-up a window like below image.

Choose your path and file type.

Hit ok it will save your active viewer result as image, It creates a read node and import your saved image into nuke.

If you forget to choose path and file type nuke will pop-up a message box like below image:

Hope this will help you Nuker's.

copy paste the following line to your 'Viewer' ).addCommand( 'save image as', "saveImage.saveImage()")

Download from: nukepedia
Download from: skydrive

Add this script into your custom .nuke DIR as

Created on 19-jan-2013
Updated on 2 april 2016
@author: satheesh-R
mail -

import nuke, nukescripts
def saveImage ():

    ### Getting Lut list from root
    LutList = [n.split(" ")[0] for n in nuke.root()['luts'].toScript().split("\n")]
    Luts = '\n'.join(LutList)

    ### creating panel and assign buttons
    ef = nuke.Panel("saveImage As......  by satheesh-r", 420)
    ef.addFilenameSearch("Save Image As:\nchoose path & file type", "")
    ef.addEnumerationPulldown('channels', "rgb rgba all")
    ef.addEnumerationPulldown('Color Space', Luts)
    ef.addEnumerationPulldown('Exr data type', "16bit-half 32bit-float")

    ### getting values from panel
    exrtype = ef.value('Exr data type')
    channel = ef.value('channels')
    path = ef.value("Save Image As:\nchoose path & file type")
    colorSpace = ef.value('Color Space')
    fileType = path.split('.')[-1]

    ### User cancel the oparation
    if window == 0 :

    ### if file format not found
    fileFormat = path.split('/')[-1]
    findDot = ('.')
    for dot in findDot:
        if dot in fileFormat:
            if dot == '.':
                ### getting path from user input
                if path == "":
                    nuke.message('no file path selected ')
                if path == "":
                ### getting active node
                curViewer = nuke.activeViewer()
                curNode = curViewer.node()
                acticeVinput = curViewer.activeInput()
                curN = curNode.input(acticeVinput)
                ### creating temp write
                w = nuke.createNode("Write")
                w.setInput(0, curN)
                ### if file type is jpg
                if fileType == 'jpg' :
                ### if file type is exr
                if fileType == 'exr' :
                ### setting current frame for render
                curFrame = nuke.frame()
                if curFrame =="":
                  curFrame = curFrame
                ### execute write node
                nuke.execute(nuke.selectedNode(), (int(curFrame)), curFrame)
                name = w.knob('file').value()
                ### create Read node
                r = nuke.createNode("Read")
                curFrame = nuke.frame()
            nuke.message('forget to choose file format')

scale up and down cornerpin node

global scale up and down cornerpin This script help you to global scale up or down the selected cornerpin. Recently i had situation to ...