Results 1 to 14 of 14

Thread: I want to read a *.indd file, where can I find information about its format?

  1. #1
    Join Date
    May 2006
    Location
    Stockholm, Sweden
    Posts
    81
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default I want to read a *.indd file, where can I find information about its format?

    Hi!
    I know that this isn't a real hardcore C++ question. But I thought that this would be the right forum for it anyway...

    I want to read a *.indd file (from Adobe Indesign). Where can I find information about how to read it in my program, how the information is written?
    When I read rtg-files from Maya I could find descriptions about the fileformat easy, but not in this case...
    How do people normaly do when they want to read a fileformat created from some program?

    I'm grateful for all tips...
    /pir

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: I want to read a *.indd file, where can I find information about its format?

    Quote Originally Posted by pir
    How do people normaly do when they want to read a fileformat created from some program?
    They ask their authors for specification of the file format.

    As for InDesign, check if Scribus reads it. You might take the code from there.

  3. #3
    Join Date
    May 2006
    Location
    Stockholm, Sweden
    Posts
    81
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: I want to read a *.indd file, where can I find information about its format?

    It doesn't seem like Scribus can read it... but I'm not completely sure yet. Can't find a list of accepted filetypes.

    About the authors of filetypes... the *indd filetype is made by Adobe and they dont want to share the information about their files. I suppose there are some point with that...

    but thanks for the tip

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: I want to read a *.indd file, where can I find information about its format?

    Quote Originally Posted by pir
    About the authors of filetypes... the *indd filetype is made by Adobe and they dont want to share the information about their files. I suppose there are some point with that...
    Did you ask them?

    BTW. There is always reverse engeneering (in countries when it's not illegal to do it).

  5. #5
    Join Date
    May 2006
    Location
    Stockholm, Sweden
    Posts
    81
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: I want to read a *.indd file, where can I find information about its format?

    yes, I called the support... and it doesn't suprice me that they dont want to give the documentation.

    I suppose they have a point with not giving their competitiors the oportunity to easier steal customers... or something. But from my point of view it should be better to give users the oportunity to build applications around the file format and make it a natural part of the workflow. I think that it's nothing that is more depressing than programs having formats which makes it almost impossible to use other programs as a complement.

    Reverse engineering isn't worth it in this case. There are ways to get the information to XML and stuff from the indd. But the drawback is that it demands more work from the guy sitting with the InDesign program.

    but thanks anyway for your tips.
    /pir

  6. #6
    Join Date
    May 2006
    Posts
    32
    Thanks
    15
    Thanked 2 Times in 2 Posts

    Default Re: I want to read a *.indd file, where can I find information about its format?

    Debug the appalication which can do this using ASM debugger(such as ollydbg).
    Many licence file of copyright protectation is opened this way.

    Then,you can crack the file format.

  7. The following user says thank you to iGoo for this useful post:

    pir (31st May 2006)

  8. #7
    Join Date
    May 2006
    Location
    Stockholm, Sweden
    Posts
    81
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: I want to read a *.indd file, where can I find information about its format?

    Nice!

    But I suppose it's not really worth the trouble in this case.
    But I really need to try this out. It seems like a nice skill to be able to do this.

    So the workflow is to decompile the app that can read the file and look for parts to see how it reads the file?


    pir

  9. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: I want to read a *.indd file, where can I find information about its format?

    Quote Originally Posted by pir
    So the workflow is to decompile the app that can read the file and look for parts to see how it reads the file?
    Yes, but beware that it might be against the law (for example Polish law allows reverse engineering only under some circumstances).

    Another approach would be to generate and compare a set of files that differ only in one detail.

  10. #9
    Join Date
    May 2006
    Location
    Stockholm, Sweden
    Posts
    81
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: I want to read a *.indd file, where can I find information about its format?

    Is it illegal to make a program that is able to import a indd file? It feels like some kind of a smoking gun... but if the workflow, described just above, about trying to make small changes to the files works, then it can't be illegal... ? Or is it possible to take patent (or wathever used in these cases) on file formats that doesn't contain any special fancy algorithm ( like GIF ) but just store data.

    I tried a decompiler program yesterday that tried to convert a program into C like code. It was more like C mixed with partly dissolved assembly. But it seems like a fully doable task which can be done by anyone who wants to crack it bad enough. Ok, I have just tried simple examples that were designed to be used as examples. But I thought before that you had to be some kind of a geniuous to do stuff like this.

    This makes it harder for me to understand why companies don't want to share their file formats. Is it not a good thing that programs are compatible with each other? I don't want to steal Adobe customers, I want to make it easier for Adobe users to use my app and make the world a more happy place. There are few things that makes me sader than incomaptible file formats. It's really sad if one has to buy all programs from the same company just because it's the only way to have a complete workflow, without too much hazle, and not because those are the best that can be found on the market.

    pir

  11. #10
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: I want to read a *.indd file, where can I find information about its format?

    It might be illegal to disassemble a program. It all depends on the law of your country.

  12. #11
    Join Date
    May 2006
    Location
    Stockholm, Sweden
    Posts
    81
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: I want to read a *.indd file, where can I find information about its format?

    Yes, I suppose it is in Sweden too. That's pretty logical. But the question is if one can sell a commersial product that can import protected file formats. It should be kind of obvious that the maker of the program have used illegall methods to make the import functionality possible.

    pir

  13. #12
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: I want to read a *.indd file, where can I find information about its format?

    Quote Originally Posted by pir
    But the question is if one can sell a commersial product that can import protected file formats. It should be kind of obvious that the maker of the program have used illegall methods to make the import functionality possible.
    Polish law allows you to reverse engineer an application to achieve compatibility with other programs, as long as you don't use it to develop an application with the same functionality. So it is perfectly legal to create *.something to *.indd converter (or vice versa), but you can't develop your own typesetting application that reads *.indd files.

    I'm sure that there is some way you could buy^H^H^H get specification or library that will enable you to use .indd files in your application. Maybe you can develop a plugin for InDesign instead?

  14. The following user says thank you to jacek for this useful post:

    pir (1st June 2006)

  15. #13
    Join Date
    May 2006
    Location
    Stockholm, Sweden
    Posts
    81
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: I want to read a *.indd file, where can I find information about its format?

    Quote Originally Posted by jacek
    Polish law allows you to reverse engineer an application to achieve compatibility with other programs, as long as you don't use it to develop an application with the same functionality. So it is perfectly legal to create *.something to *.indd converter (or vice versa), but you can't develop your own typesetting application that reads *.indd files.
    I have to check if this is also the case in Sweden. I hope Swedish lawmakers are as smart as the Polish.
    There should be somekind of international website where you can look what laws exists in different country in this area. Would be nice to be able to see what one is allowed to do, instead being scared of trip on some copyright law that doesn't exist.

    thanks
    pir

  16. #14
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: I want to read a *.indd file, where can I find information about its format?

    Quote Originally Posted by pir
    lawmakers are as smart as the Polish.
    To be honest it's one of the rare cases when they did something smart (apart from opposing software patents and preparing new anti-spam regulations), but I guess it's just because politicians leave such uninteresing problems to experts instead of dealing with them themselves.

    Quote Originally Posted by pir
    There should be somekind of international website where you can look what laws exists in different country in this area.
    IMO it would be very hard to keep it up to date, but maybe EU has one.

Similar Threads

  1. problems installing Qt opensource with msvc2008 support
    By odin1985 in forum Installation and Deployment
    Replies: 6
    Last Post: 24th May 2008, 09:06
  2. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 06:13

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.