grannyGeek
31st October 2006, 03:57
Is there a limit to the number of colors that can be used in the images?
I created some bitmap buttons in PaintShopPro, and reduced color to custom 16-color palette.
When I used them for the menu, the log reports
INFO: Locale=C
INFO: Converting filenames to US-ASCII
STAT: 0:00:00.000
INFO: PNG had 15 colors
INFO: PNG had 14 colors
assertion "s->numpal<16" failed: file "subgen.c", line 226
erase "C:\stuart_Crumper\menu3.mpg"
echo *authoring title(s).....
*authoring title(s).....
"C:\Program Files\_Multimedia\_Video\DVDAuthorGUI\bin\dvdauthor.exe" -x "C:\Program Files\_Multimedia\_Video\DVDAuthorGUI\config.xml"
DVDAuthor::dvdauthor, version 0.6.12-alpha-2907.
Build options: gnugetopt iconv freetype
Send bugs to <dvdauthor-users@lists.sourceforge.net>
INFO: Locale=C
INFO: Converting filenames to US-ASCII
INFO: dvdauthor creating VTS
STAT: Picking VTS 01
STAT: Processing C:\stuart_Crumper\menusub1.mpg...
STAT: Processing C:\stuart_Crumper\menusub2.mpg...
STAT: Processing C:\stuart_Crumper\menusub3.mpg...
STAT: VOBU 0 at 0MB, 3 PGCS
4 [main] dvdauthor 1484 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
393 [main] dvdauthor 1484 open_stackdumpfile: Dumping stack trace to dvdauthor.exe.stackdump
erase "C:\stuart_Crumper\*.mpg"
echo *process complete
*process complete chs m“
Processing stops at this point, and generates two stackdump reports.
When I used standard Windows 16-color palette without “transparency” (no color R=1,G=1,B=1) and images only use 3 colors, log reports
INFO: Locale=C
INFO: Converting filenames to US-ASCII
STAT: 0:00:00.000
INFO: PNG had 3 colors
INFO: PNG had 3 colors
INFO: Constructing blank img
INFO: Pickbuttongroups, success with 1 groups, useimg=1
INFO: Found EOF in .sub file.
INFO: Max_sub_size=1002
WARN: Read 0, expected 4
INFO: 1 subtitles added, 0 subtitles skipped, stream: 32, offset: 0.18. . . “
And continues to process the dvd to a successful conclusion.
The sample buttons work fine, and I notice that all the samples use a maximum of four colors. They appear to have custom palettes, not the Windows “standard 16”.
So, I came to the conclusion (always dangerous) that possibly there is a limit to the number of colors that DvdAuthor will accept.
If this is true, how do I find out what that number is?
If the problem is caused by something else, can anyone help me out?
Hoping for your good advice ---
granny
I created some bitmap buttons in PaintShopPro, and reduced color to custom 16-color palette.
When I used them for the menu, the log reports
INFO: Locale=C
INFO: Converting filenames to US-ASCII
STAT: 0:00:00.000
INFO: PNG had 15 colors
INFO: PNG had 14 colors
assertion "s->numpal<16" failed: file "subgen.c", line 226
erase "C:\stuart_Crumper\menu3.mpg"
echo *authoring title(s).....
*authoring title(s).....
"C:\Program Files\_Multimedia\_Video\DVDAuthorGUI\bin\dvdauthor.exe" -x "C:\Program Files\_Multimedia\_Video\DVDAuthorGUI\config.xml"
DVDAuthor::dvdauthor, version 0.6.12-alpha-2907.
Build options: gnugetopt iconv freetype
Send bugs to <dvdauthor-users@lists.sourceforge.net>
INFO: Locale=C
INFO: Converting filenames to US-ASCII
INFO: dvdauthor creating VTS
STAT: Picking VTS 01
STAT: Processing C:\stuart_Crumper\menusub1.mpg...
STAT: Processing C:\stuart_Crumper\menusub2.mpg...
STAT: Processing C:\stuart_Crumper\menusub3.mpg...
STAT: VOBU 0 at 0MB, 3 PGCS
4 [main] dvdauthor 1484 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
393 [main] dvdauthor 1484 open_stackdumpfile: Dumping stack trace to dvdauthor.exe.stackdump
erase "C:\stuart_Crumper\*.mpg"
echo *process complete
*process complete chs m“
Processing stops at this point, and generates two stackdump reports.
When I used standard Windows 16-color palette without “transparency” (no color R=1,G=1,B=1) and images only use 3 colors, log reports
INFO: Locale=C
INFO: Converting filenames to US-ASCII
STAT: 0:00:00.000
INFO: PNG had 3 colors
INFO: PNG had 3 colors
INFO: Constructing blank img
INFO: Pickbuttongroups, success with 1 groups, useimg=1
INFO: Found EOF in .sub file.
INFO: Max_sub_size=1002
WARN: Read 0, expected 4
INFO: 1 subtitles added, 0 subtitles skipped, stream: 32, offset: 0.18. . . “
And continues to process the dvd to a successful conclusion.
The sample buttons work fine, and I notice that all the samples use a maximum of four colors. They appear to have custom palettes, not the Windows “standard 16”.
So, I came to the conclusion (always dangerous) that possibly there is a limit to the number of colors that DvdAuthor will accept.
If this is true, how do I find out what that number is?
If the problem is caused by something else, can anyone help me out?
Hoping for your good advice ---
granny