large pictures can't be displayed (1 Viewer)

bta489

Portal Pro
March 17, 2013
176
99
Home Country
Germany Germany
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

  • Test_10k_x_7k5.jpg
    1.7 MB

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    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
    207
    11
    52
    Home Country
    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
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    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

    Portal Pro
    August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    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

    Portal Pro
    August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    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
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    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

    Top Bottom