![]() |
|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Help with ImageIO.read(file)
Anyone have any experience here I just recently found out that this doesn't work with greyscale or black and white images. You get a exception thrown.
I having been googling all morning i see allot of people using JAI but i was hoping that wouldn't be necessary. Never thought I would have an issue with greyscale images. |
#2
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#3
|
|||
|
|||
Sorry should have posted that
Code:
Exception: Numbers of source Raster bands and source color space components do not match |
#4
|
||||
|
||||
I know this won't help you much... but I did reproduce the same issue. By saving the image as a png, I was able to read it, though.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#5
|
|||
|
|||
Quote:
I am also suprised you haven't hit this with phoenix (if you are using that to load the images you scale). |
#6
|
||||
|
||||
We haven't hit this issue yet, in Phoenix, but I think we try to use .png files where possible. And in BMT, I may hit this as well, since I use the ImageIO.read/write apis there to download fanart and scale on the fly, but if that process fails, I just log an error.
BTW... I don't think just renaming the file to png would work, i think you'd have to somehow save it as a png file. In my case I opened up using an image viewer and did a save as png.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#7
|
|||
|
|||
Quote:
![]() Who would have though that would cause such an issue and to think after I finally got the error of pngs not keeping their transparency worked out. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
software error - can't read ini file | cat6man | Hardware Support | 1 | 05-21-2010 09:07 AM |
.properties file not being read | tonysathre | SageTV Customizations | 7 | 07-10-2009 06:05 AM |
Help importing media: does Sage even read the properties file? | silkshadow | SageTV Software | 9 | 04-05-2006 10:47 AM |
XMLTV file not read properly? | henk99 | SageTV EPG Service | 7 | 02-08-2005 02:00 AM |