large pictures can't be displayed (1 Viewer)

bta489

Portal Pro
March 17, 2013
132
67
Germany Germany
Country flag
Hi there,

when trying to open a large .jpg-Picture (dimensions around 10 000 x 7500 pixels) MP only shows black. I created various new test-files in paint with those dimensions (I attached a rather pretty one) and MP fails to display it, so I'm fairly certain it's the sheer amount of pixels that is causing the issue. I tried waiting, in case the processing of those huge images just takes a bit, but after several minutes the screen was still black. The Thumbnails for the files are being created flawlessly, though.

MediaPortal.log (DEBUG-Verbosity) shows only this (MediaPortal-Error.log has no related entries):

Code:
[2015-12-21 12:45:24,362] [Log  ] [MPMain  ] [DEBUG] - IntegrityCheck: the C:\ProgramData\Team MediaPortal\MediaPortal\Database\PictureDatabase.db3 is OK
[2015-12-21 12:45:26,092] [Log  ] [MPMain  ] [INFO ] - picture database opened
[2015-12-21 12:45:26,094] [Log  ] [MPMain  ] [DEBUG] - TextureManager: CleanupThumbs()
[2015-12-21 12:45:26,619] [Log  ] [MPMain  ] [DEBUG] - GetFolderSetting: D:\Bilder found.
[2015-12-21 12:45:26,671] [Log  ] [MPMain  ] [INFO ] - ThreadPool.Init()
[2015-12-21 12:45:26,672] [Log  ] [MPMain  ] [DEBUG] - ThreadPool.StartThreads() : Thread PoolThread58 started
[2015-12-21 12:45:26,688] [Log  ] [PoolThread58] [WARN ] - GUIPictures: Omitting outside path D: from check share D:\Bilder
[2015-12-21 12:45:28,857] [Log  ] [PoolThread58] [DEBUG] - GUIPictures: Creation of all thumbs for dir 'D:\Bilder' took 2,1781738 seconds for 20 files
[2015-12-21 12:45:28,857] [Log  ] [PoolThread58] [DEBUG] - ThreadPool.ProcessQueue() : total items processed: 1
[2015-12-21 12:45:31,114] [Log  ] [MPMain  ] [DEBUG] - Window: MediaPortal.GUI.Pictures.GUIPictures deinit
[2015-12-21 12:45:31,126] [Log  ] [MPMain  ] [DEBUG] - TextureManager: CleanupThumbs()
[2015-12-21 12:45:31,134] [Log  ] [MPMain  ] [DEBUG] - Window: MediaPortal.GUI.Pictures.GUISlideShow init
[2015-12-21 12:45:31,345] [Log  ] [MPMain  ] [DEBUG] - Picture: Fast loaded texture D:\Bilder\Test.jpg
[2015-12-21 12:45:31,354] [Log  ] [MPMain  ] [WARN ] - Picture: exception loading D:\Bilder\Test.jpg
[2015-12-21 12:45:31,360] [Log  ] [MPMain  ] [DEBUG] - GUISlideShow: LoadSlide - currentSlideIndex 2
[2015-12-21 12:45:31,575] [Log  ] [PicPrefetch] [DEBUG] - Picture: Fast loaded texture D:\Bilder\Test (Individuell).jpg
[2015-12-21 12:45:31,579] [Log  ] [PicPrefetch] [WARN ] - Picture: exception loading D:\Bilder\Test (Individuell).jpg
[2015-12-21 12:45:33,520] [Log  ] [MPMain  ] [DEBUG] - Main: WM_ACTIVATE (WA_INACTIVE)
[2015-12-21 12:45:33,520] [Log  ] [MPMain  ] [INFO ] - Main: Deactivation request received
[2015-12-21 12:45:33,521] [Log  ] [MPMain  ] [DEBUG] - D3D: OnLostFocus()
Is this a (known) limitation of the plugin?
 

Attachments

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    12,463
    7,157
    Kyiv
    Ukraine Ukraine
    Country flag
    The same thing, starting with 1.10, and ending with 1.14 ... big picture does not show. In memory of about 8000 or more in width...
     

    LennyW

    Portal Pro
    July 19, 2012
    206
    11
    48
    Germany Germany
    I have the same problem sometimes with images from my new digital camera (24 Mpix). But when I restart MePo 1.12 it usually works. I have made some backdrop images even for my "pictures" screen and the big ones seem not to be displayed all the time and I get a black screen until the following (smaller?) image is displayed. It seems like MePo is "causing" the problem over time. Is there a buffer or something which is not re-freshed???
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    12,463
    7,157
    Kyiv
    Ukraine Ukraine
    Country flag
    But when I restart MePo 1.12 it usually works.
    If the picture is more than 10,000 in width, the media portal does not show it at all. Rebooting does not help waiting for 30min as well. Just a black screen.
     

    Vasilich

    Test Group
  • Team MediaPortal
  • August 30, 2009
    3,393
    1,170
    Germany, Mayence
    Russian Federation Russian Federation
    Country flag
    works @ my PC. What amount of vidoe memory do you have? this picture in decoded form takes over 200MBytes, so you need at least 512 MBytes of memory (shared or dedicated).
     

    Vasilich

    Test Group
  • Team MediaPortal
  • August 30, 2009
    3,393
    1,170
    Germany, Mayence
    Russian Federation Russian Federation
    Country flag
    But I have the picture size about 30MB
    Same for me and the pictures are less than 15MB.
    don't forget- the images will be decompressed in memory, so count width*height*3 bytes per pixel.
    I get the exception
    System.OutOfMemoryException: Out of memory.
    at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
    at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)
    at MediaPortal.Util.Picture.Load(String strPic, Int32 iRotate, Int32 iMaxWidth, Int32 iMaxHeight, Boolean bRGB, Boolean bZoom, Boolean bOversized, Int32& iWidth, Int32& iHeight) in d:\Igor\git\MediaPortal-1\mediaportal\Core\Util\Picture.cs:line 209
    on line
    C#:
    g.DrawImage(theImage, new Rectangle(xpos, ypos, iWidth, iHeight));
    for images like 20k*15k, and i assume it is because this picture takes over 900 MBytes and thus doesn't fit into my 1GB graphic memory.
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    12,463
    7,157
    Kyiv
    Ukraine Ukraine
    Country flag
    for images like 20k*15k, and i assume it is because this picture takes over 900 MBytes and thus doesn't fit into my 1GB graphic memory.
    XNView and Windows Viewer It shows them properly on any computer, my examples
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    fredco [solved] Large import not working Moving Pictures 15
    D Large xml database in My Movies Management. I remain unclear on use My Films as bridge to MP2.2 General 9
    horned_reaper [solved] Mixed artist pictures Fanart Handler 397
    F Picture on folder Feature Requests 9
    M.Hulot Moving Pictures lässt sich nach Windows-Update nicht mehr öffnen Plugins & Erweiterungen 1
    cerberus Moving Pictures zeigt Film Spezifikationen nicht richtig Plugins & Erweiterungen 12
    P Configuration Moving Pictures Support d'installation et de configuration 0
    emphatic Pictures in the cloud - would a plugin be possible for services like Google Photos MediaPortal 1 Plugins 1
    R [solved] Moving pictures importer wont add files from a removable drive. Is there a work around ? Moving Pictures 8
    badboyxx [solved] Moving Pictures and MediaPortal 1.23 Regeszter Edition Moving Pictures 93
    caveman [solved] Moving Picture 97% CPU Moving Pictures 9
    T Moving Pictures...seem to have 'lost' ability to display Movie info. (eg Resolution/Audio) Moving Pictures 2
    A Video clips do not work in the Pictures folder General Support 10
    N [Finished] [MP2-789] MCE remote control Recorded TV and My Pictures buttons do not work MediaPortal 2 17
    raffe [solved] Export tool and import support from MP-TVSeries & Moving Pictures to MP2 General 22
    Cowboy Playback Problem with CTD or sometimes BSOD watch/edit Videos 0
    haaitje Pictures error .net framework MPTagThat 0
    M.Hulot Moving pictures startet nur im hintergrund und falscher version Allgemeines Supportforum 5
    volumia [solved] Q: thumbnail creation for Pictures plugin MediaPortal 1 Plugins 61
    T Neuinstalation - Moving Pictures probleme Installationsprobleme? 19
    B Display pictures to 4K TV View Pictures 0
    G MadVR, black TV Picture 1.20 Pre Release 1
    S Problem wit .ISO files in Moving Pictures Moving Pictures 3
    olli14 Inhalt der Moving Pictures Datenbank in die Plex Datenbank kopieren MediaPortal Café 69
    T Moving Pictures Icon disappeared...and the program....??? Watch / Listen Media 1
    Similar threads

























    Top Bottom