Transparancy around still image

Doug MeatLoaf's icon

Hello.
I need some help.
I will try to be clear.
I have some still images that I want to import into Max and use an external controller to make the images appear/disappear depending on the controller messages that is being sent.
Some images has to overlap.
I’m trying to have transparency around my image so when they overlap, there is no big white box around it. From what I understand, I think this has to do with the alpha channel. I tried to export my pictures from Photoshop with a transparent background in different file format (TIFF, PGN, JPG). When imported into Max via the « fpic » object, there is always a white background around my pictures.
Does anyone have an idea why it does not work?
Thank you very much for your help.

gerardo.pellicer's icon

Try this, use a .png file with transparency.

{
    "boxes" : [         {
            "box" :             {
                "maxclass" : "message",
                "text" : "importmovie, bang",
                "style" : "",
                "numinlets" : 2,
                "numoutlets" : 1,
                "outlettype" : [ "" ],
                "patching_rect" : [ 19.0, 110.0, 109.0, 22.0 ],
                "id" : "obj-10"
            }

        }
,         {
            "box" :             {
                "maxclass" : "message",
                "text" : "importmovie, bang",
                "style" : "",
                "numinlets" : 2,
                "numoutlets" : 1,
                "outlettype" : [ "" ],
                "patching_rect" : [ 19.0, 232.0, 109.0, 22.0 ],
                "id" : "obj-9"
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "jit.gl.videoplane @scale 0.25 0.25 1. @position 0.5 0. 0. @transform_reset 1 @depth_enable 0 @blend_enable 1",
                "style" : "",
                "numinlets" : 1,
                "numoutlets" : 2,
                "outlettype" : [ "jit_matrix", "" ],
                "patching_rect" : [ 19.0, 298.0, 614.0, 22.0 ],
                "id" : "obj-6"
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "jit.matrix",
                "style" : "",
                "numinlets" : 1,
                "numoutlets" : 2,
                "outlettype" : [ "jit_matrix", "" ],
                "patching_rect" : [ 19.0, 265.0, 55.0, 22.0 ],
                "id" : "obj-7"
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "jit.gl.videoplane @scale 0.25 0.25 1. @position -0.5 0. 0. @transform_reset 1 @depth_enable 0 @blend_enable 1",
                "style" : "",
                "numinlets" : 1,
                "numoutlets" : 2,
                "outlettype" : [ "jit_matrix", "" ],
                "patching_rect" : [ 19.0, 183.0, 618.0, 22.0 ],
                "id" : "obj-5"
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "jit.matrix",
                "style" : "",
                "numinlets" : 1,
                "numoutlets" : 2,
                "outlettype" : [ "jit_matrix", "" ],
                "patching_rect" : [ 19.0, 150.0, 55.0, 22.0 ],
                "id" : "obj-4"
            }

        }
,         {
            "box" :             {
                "maxclass" : "toggle",
                "parameter_enable" : 0,
                "style" : "",
                "numinlets" : 1,
                "numoutlets" : 1,
                "outlettype" : [ "int" ],
                "patching_rect" : [ 19.0, 28.0, 24.0, 24.0 ],
                "id" : "obj-3"
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "jit.world",
                "style" : "",
                "numinlets" : 1,
                "numoutlets" : 3,
                "outlettype" : [ "", "bang", "" ],
                "patching_rect" : [ 19.0, 73.0, 51.0, 22.0 ],
                "id" : "obj-1"
            }

        }
],
    "lines" : [         {
            "patchline" :             {
                "source" : [ "obj-7", 0 ],
                "destination" : [ "obj-6", 0 ],
                "hidden" : 0,
                "disabled" : 0
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-4", 0 ],
                "destination" : [ "obj-5", 0 ],
                "hidden" : 0,
                "disabled" : 0
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-10", 0 ],
                "destination" : [ "obj-4", 0 ],
                "hidden" : 0,
                "disabled" : 0
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-9", 0 ],
                "destination" : [ "obj-7", 0 ],
                "hidden" : 0,
                "disabled" : 0
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-3", 0 ],
                "destination" : [ "obj-1", 0 ],
                "hidden" : 0,
                "disabled" : 0
            }

        }
],
    "appversion" :     {
        "major" : 7,
        "minor" : 1,
        "revision" : 0,
        "architecture" : "x86",
        "modernui" : 1
    }

}