add directory as a single file not working with PNGs

27 views
Skip to first unread message

Douglas

unread,
Sep 10, 2009, 8:52:04 AM9/10/09
to ViPER Mailing List
Dear All,

I am having trouble with ‘add directory as a single file.’ I can
import single images, PNG and BMP, with ‘add media file’ but not the
directory with ‘add directory as a single file.’ I have only been
able to get it to work with jpegs.

This is the warning I receive is...

C:\Program Files\viper\viper-light-20050525>java -jar viper-gt.jar
10-Sep-2009 13:45:58 edu.umd.cfar.lamp.viper.gui.players.DataPlayer
getPlayerByE
xtension
WARNING: Success opening C:\Documents and Settings\dougmacd\Desktop
\testSequence
\testpng\testpng.info with
edu.umd.cfar.lamp.viper.gui.players.InfoPlayer
10-Sep-2009 13:45:58
edu.umd.cfar.lamp.viper.gui.players.DataPlayerHelper getIma
ge
SEVERE: Error while reading media: closed
10-Sep-2009 13:45:58
edu.umd.cfar.lamp.viper.gui.players.DataPlayerHelper getIma
ge
SEVERE: Error while reading media: closed
10-Sep-2009 13:45:58
edu.umd.cfar.lamp.viper.gui.players.DataPlayerHelper getIma
ge
SEVERE: Error while reading media: closed
10-Sep-2009 13:45:59
edu.umd.cfar.lamp.viper.gui.players.DataPlayerHelper getIma
ge
SEVERE: Error while reading media: closed

And this is the info file (only two images for testing purposes).

#VIPER_VERSION_3.0
1
grab000001.PNG
grab000002.PNG


Any help in getting the directory as a single file function to work
will be greatly received.

Kind regards,

Douglas

David Mihalcik

unread,
Sep 11, 2009, 12:14:43 AM9/11/09
to viper-...@googlegroups.com
It seems to be a change in the way ImageIO, the java api that is being
used, handles input streams. It closes them now. I'll add the fix to
the queue.

http://github.com/dmihalcik/viper-toolkit/issues/#issue/5

Looking at the related code, it also won't load files with special
characters & spaces in the names, so I tried to fix that, as well.

Anyway, give the build of the 'light' version a try & let me know how it goes.

http://github.com/dmihalcik/viper-toolkit/downloads

Thanks,
David Mihalcik
Reply all
Reply to author
Forward
0 new messages