Announcement

Collapse
No announcement yet.

uTOLED-20-G2 Animated Gif shows up in wrong orientation and distorted

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • uTOLED-20-G2 Animated Gif shows up in wrong orientation and distorted

    I've loaded images in rapid succession before, and this time I thought I'd try my hand at making an animated gif and loading that up.
    The gif can be found here: http://i.minus.com/iYduVypGN2iQ1.gif
    I made it 128x160 just like the display. I pulled it into Visi and set positions to 0, dimensions to 128x160, and a number of start stop frame numbers and delays. No matter what, the image is severely distorted and in the wrong orientation. Here is the code I'm using.

    Code:
    #platform "GOLDELOX"
    
    // Program Skeleton 1.0 generated 9/15/2013 6:54:24 PM
    
    #inherit "4DGL_16bitColours.fnc"
    #inherit "VisualConst.inc"
    #inherit "newvisConst.inc"
    func main()
    //  Uncomment the following if uSD images, fonts or strings used.
        print("Starting\n") ;
        while(!media_Init())
            putstr("Drive not mounted...");
            pause(5000);
            gfx_Cls();
            pause(200);
        wend
        // Video1 1.0 generated 9/22/2013 10:20:58 PM
        media_SetAdd(iVideo1H, iVideo1L) ;      // point to the Video1 image
        gfx_Set(SCREEN_MODE,PORTRAIT) ;        // On uTOLED-20-G2 videos+images only work in PORTRAIT
        media_Video(0, 0) ;                     // show video
        gfx_Set(SCREEN_MODE,LANDSCAPE) ;      // Restore 'operating' orientation
        repeat              
        forever
    endfunc
    Any ideas?

  • #2


    Hmm, that's a bug in Workshop that is fixed for the next version. (Due out in the next day or so)

    Basically Toled Videos will only be correct in portrait orientation at the moment.
    Mark

    Comment


    • #3


      I tried. I tried it that way too. Multiple orientations and gif, mpg, avi, and Wmv. A couple of times it wasn't distorted but it was scaled with wrong dimensions. I gave up and went with raw code and the graphics tool. It worked. https://www.youtube.com/watch?v=04U-Ae4uN5E

      Comment

      Working...
      X