Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: File problem

  1. #11
    Join Date
    May 2018
    Location
    Bulgaria , Pernik
    Posts
    16

    Default

    [QUOTE = JohnYayas; 343946] Коя версия на iShow имате? Ако имате версия 1.3 или 2.3, мога да ви дам копие от спагети, за да изпробвате дали проблемът изчезне. [/ QUOTE]
    The iShow version is: 2.31

  2. #12
    Join Date
    Jul 2008
    Location
    My momentum is too precisely determined :S
    Posts
    1,764

    Default

    In attachment are several ilda files. They're all the same content, but in different formats. They are the letters CMYRGB surrounded by a white rectangle. On a flawless system the letters in all files should have these colours:

    C - Cyan (blue/green mix)
    M - Magenta (blue/red mix)
    Y - Yellow (red/green mix)
    R - Red
    G - Green
    B - Blue
    Rectangle - White (red/green/blue mix)

    The file might not scan very well as it's generated by my own program and I haven't done much on scanner optimalisation. It should be safe to scan (no large jumps) but the letters might be distorted.

    The trouble you're experiencing stems from the clusterfuck that is the history of storing colours in Ilda files. The old standards use a thing called a palette, which is a set of predefined colours. There are many kinds of palettes but it's easy to use the wrong one, which is probably the cause of your problems.

    File overview:

    - Format0-DefaultPalette: exported as format 0. This format is the most widely implemented format across all systems and is known to work with SD card projectors and old software. It uses the default 64 colour palette index that most systems agreed on.
    - Format0-IldaPalette: again format 0. Same as before but the colour indices now refer to a colour in the Ilda standard 256 colour palette, that all systems should use as standard, but don't. There is no way for systems to know which palette is used for this file so results will be wrong most of the time. Some software asks which palette was used. Most don't and use the default 64 colour palette instead, so the colours in this file will be wrong. Some systems can only handle 64 colours and may even give an error.
    - Format0-PaletteIncluded: has the 256 colour palette included in the file so there should be no doubt about which one is correct. I said should again, as most systems have no clue how to parse palettes and will crash on this file. Others might just ignore the palette and still use the default 64 colour palette.
    - Format1-IldaPalette: uses the format 1, which is largely the same as format 0 (just 2D). Could be interesting to know if your system can handle these files. Also uses the Ilda standard 256 colour palette.
    - Format 4: no palettes here. RGB values are stored for each point. Older systems (and systems written by lazy programmers) will not be able to parse this file. But if it works, this format is what you should use.
    - Format 5: same as format 4, but 2D. Just another point of measurement.

    Load these in one by one and report back with the results.


    Colour-test.zip
    Last edited by colouredmirrorball; 05-10-2018 at 07:18. Reason: Added wiki link

  3. #13
    Join Date
    Mar 2010
    Location
    Raleigh, NC
    Posts
    2,053

    Default

    Format 2 is the color palette that is included within the file. Format 0 and 1 can use it if specified, otherwise they use whatever the "default" is, which could be anything the developer decided to use.
    Format 3 is similar to format 2 and was controversial enough to get people banned from the forum.
    Spaghetti supports them all, btw.

  4. #14
    Join Date
    Mar 2012
    Location
    Akron, Ohio USA
    Posts
    1,314

    Default

    Quote Originally Posted by JohnYayas View Post
    Format 3 is similar to format 2 and was controversial enough to get people banned from the forum.
    ............. Really?
    Creator of LaserBoy!
    LaserBoy is free and runs in Windows, MacOSX and Linux.
    http://laserboy.org/code/LaserBoy_Current.zip
    http://theamerikans.org/LaserBoy

    http://laserboy.org/formatt/
    Ask me about my LaserBoy Correction Amp Kit for sale!

    Either do or do not do. There is no undo!

  5. #15
    Join Date
    Jan 2006
    Location
    Charleston, SC
    Posts
    2,147,488,779

    Default

    Quote Originally Posted by JohnYayas View Post
    Format 3 is similar to format 2 and was controversial enough to get people banned from the forum.
    Quote Originally Posted by james View Post
    ... Really?
    Well, for a little while anyway, right?

    OK, maybe that wasn't the only reason. But you have to admit that Gary's joke was pretty darned funny regardless...

    ColoredmirrorBall is on the right track though. Interested to see the results!

    Adam

  6. #16
    Join Date
    Mar 2012
    Location
    Akron, Ohio USA
    Posts
    1,314

    Default

    You can open all formats of ILDA in LaserBoy. If a frame is based on a palette as in format 0 or 1, and there is no format 2 preceding it, the default palette of 63 colors is assumed. If this is not correct, the ILDA standard palette of 255 colors in one of the palettes that is already compiled into the application. You can up or down arrow to find this palette and in the palette transforms menu, you can switch to this palette by index. That means that the color indices that are stored in the format 0 or 1 frame are left intact but the palette that the frame uses is swapped, index for index.
    Creator of LaserBoy!
    LaserBoy is free and runs in Windows, MacOSX and Linux.
    http://laserboy.org/code/LaserBoy_Current.zip
    http://theamerikans.org/LaserBoy

    http://laserboy.org/formatt/
    Ask me about my LaserBoy Correction Amp Kit for sale!

    Either do or do not do. There is no undo!

  7. #17
    Join Date
    Mar 2010
    Location
    Raleigh, NC
    Posts
    2,053

    Default

    Quote Originally Posted by james View Post
    You can open all formats of ILDA in LaserBoy. If a frame is based on a palette as in format 0 or 1, and there is no format 2 preceding it, the default palette of 63 colors is assumed. If this is not correct, the ILDA standard palette of 255 colors in one of the palettes that is already compiled into the application. You can up or down arrow to find this palette and in the palette transforms menu, you can switch to this palette by index. That means that the color indices that are stored in the format 0 or 1 frame are left intact but the palette that the frame uses is swapped, index for index.
    All formats? You finally fixed your Format 3 implementation? Cool!

  8. #18
    Join Date
    Mar 2012
    Location
    Akron, Ohio USA
    Posts
    1,314

    Default

    Quote Originally Posted by JohnYayas View Post
    All formats? You finally fixed your Format 3 implementation? Cool!
    Don't get too worked up sparky. LaserBoy reads all formats from 0 to 5 including both format 3 with the 16 byte header and with the 32 byte header (same header as all the other format headers). It also writes all formats from 0 to 5. It writes format 3 with the 32 byte header. Not that it matters, because ILDA abandoned format 3 all together.

    LB has been this way ever since there ever was a format 3 of any kind.

    As far as frames in format 0 or 1 are concerned, not only can it swap palettes from one to another index to index, it can also swap palettes based on a best match of color. So if you have a frame or a set of frames that use the ILDA Standard 255 color palette and you want to switch them over to the Default palette of 63 colors, you can open the file, switch the frame(s) to the ILDA Standard palette by index and then switch back to the Default 63 color palette by best color match. Now all of your frames will open in any software that reads formats 0 or 1 that assumes if no palette is defined within the file that the Default palette of 63 colors is to be used, and it will look right.
    Last edited by james; 05-10-2018 at 20:34.
    Creator of LaserBoy!
    LaserBoy is free and runs in Windows, MacOSX and Linux.
    http://laserboy.org/code/LaserBoy_Current.zip
    http://theamerikans.org/LaserBoy

    http://laserboy.org/formatt/
    Ask me about my LaserBoy Correction Amp Kit for sale!

    Either do or do not do. There is no undo!

  9. #19
    Join Date
    Mar 2010
    Location
    Raleigh, NC
    Posts
    2,053

    Default

    Quote Originally Posted by james View Post
    Don't get too worked up sparky. LaserBoy reads all formats from 0 to 5 including both format 3 with the 16 byte header and with the 32 byte header (same header as all the other format headers). It also writes all formats from 0 to 5. It writes format 3 with the 32 byte header. Not that it matters, because ILDA abandoned format 3 all together.

    LB has been this way ever since there ever was a format 3 of any kind.

    As far as frames in format 0 or 1 are concerned, not only can it swap palettes from one to another index to index, it can also swap palettes based on a best match of color. So if you have a frame or a set of frames that use the ILDA Standard 255 color palette and you want to switch them over to the Default palette of 63 colors, you can open the file, switch the frame(s) to the ILDA Standard palette by index and then switch back to the Default 63 color palette by best color match. Now all of your frames will open in any software that reads formats 0 or 1 that assumes if no palette is defined within the file that the Default palette of 63 colors is to be used, and it will look right.
    I don't know what you said but it seems cool!

  10. #20
    Join Date
    May 2018
    Location
    Bulgaria , Pernik
    Posts
    16

    Default

    I did the color test. The laser works correctly only with the file "Format0-DefaultPalette"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •