wxpython cross-platform image viewer

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bushticals
    New Member
    • Aug 2007
    • 12

    wxpython cross-platform image viewer

    i was wondering if anyone could write me a definition that will open a currently in use image file in the windows picture and fax viewer? im having troubles...
    anyhelp much appreciated!
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by bushticals
    i was wondering if anyone could write me a definition that will open a currently in use image file in the windows picture and fax viewer? im having troubles...
    anyhelp much appreciated!
    I'm working on this very sort of thing (only with video) at the moment.
    I've decided to use the comtypes extensions and connect to Windows OS that way.

    Hope that helps.

    Comment

    • himynameismario
      New Member
      • Aug 2007
      • 7

      #3
      Originally posted by bushticals
      i was wondering if anyone could write me a definition that will open a currently in use image file in the windows picture and fax viewer? im having troubles...
      anyhelp much appreciated!
      no <MOD EDIT: expletive deleted> !lmao
      get any help?

      EDIT:i need this too now..
      but that guys help was kinda far out..lol

      Comment

      • bartonc
        Recognized Expert Expert
        • Sep 2006
        • 6478

        #4
        Originally posted by himynameismario
        no <MOD EDIT: expletive deleted> !lmao
        get any help?

        EDIT:i need this too now..
        but that guys help was kinda far out..lol

        WARNING: Foul language will get you banned. Please take some time to read our Posting Guidelines.

        Comment

        • bartonc
          Recognized Expert Expert
          • Sep 2006
          • 6478

          #5
          Originally posted by bushticals
          i was wondering if anyone could write me a definition that will open a currently in use image file in the windows picture and fax viewer? im having troubles...
          anyhelp much appreciated!
          If the fax viewer is a Microsoft product, then it is probably COM aware and using OLE technology will work for your needs. Unfortunately, the comtypes package for python is very new and has very little documentation thus far. Any programmer interested in making this work has much experimenting to do and will soon become the leading expert in that area. If you have made some progress, I'd be very interested in taking a look at your work. For my project, I have decided to switch to C++ extension for all of the OLE video capture (one week solid pounding on Visual Studio 2005 Express to get the DirectShow baseclasses to compile has finally paid off!).

          Comment

          • himynameismario
            New Member
            • Aug 2007
            • 7

            #6
            lol sorry guys,i come from a forum where that doesnt really matter.
            but could u try and explain it in lamens terms?

            we have been working with python for less than a year..
            thanks

            Comment

            • bushticals
              New Member
              • Aug 2007
              • 12

              #7
              still, this is another problem im having with my app... if anyone cann help?

              Comment

              • bartonc
                Recognized Expert Expert
                • Sep 2006
                • 6478

                #8
                Originally posted by bushticals
                still, this is another problem im having with my app... if anyone cann help?
                My best recommendation: Find a cheap ActiveX control for viewing the file by googling "free image viewer ocx" and install it in a wxPython window.

                Comment

                • bushticals
                  New Member
                  • Aug 2007
                  • 12

                  #9
                  ok yes that's helpful. however, if i do this, this will limit my program to only run on the windows platform... is there a way i can make the image open with the default image viewer?

                  Comment

                  • bartonc
                    Recognized Expert Expert
                    • Sep 2006
                    • 6478

                    #10
                    Originally posted by bushticals
                    ok yes that's helpful. however, if i do this, this will limit my program to only run on the windows platform... is there a way i can make the image open with the default image viewer?
                    OK. You've modified your initial requirements, so I'll rename this thread. Maybe one or our *nix members will pick up where I must leave off (Window-only knowledge).

                    Comment

                    • bartonc
                      Recognized Expert Expert
                      • Sep 2006
                      • 6478

                      #11
                      Originally posted by bushticals
                      ok yes that's helpful. however, if i do this, this will limit my program to only run on the windows platform... is there a way i can make the image open with the default image viewer?
                      Looks like you can get ActiveX on Linux...

                      Comment

                      Working...