• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] ImageTrimmer

Scheduled Pinned Locked Moved Plugins
364 Posts 58 Posters 228.1k Views 58 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    TIG Moderator
    last edited by 9 Feb 2013, 09:59

    It looks like a permissions issue: especially since you get different results as yourself and as an Admin.
    Being an Admin is not sufficient to allow you to have full access to things within a folder if its permissions are inherently limited.
    Log in as an Admin.
    You'll have to translate the following 'titles' into German if your locale is not 'EN'...
    Highlight the Plugins folder's icon and use the right-click context-menu > Properties > Security > Edit set permissions to that folder to FULL for everyone, including yourself!
    Apply and OK to save.
    Check that the permissions have filtered down and that FULL also applies to the Plugins folder's contents - both files and subfolders, and their contents etc.
    Retry using the tool.

    Tip: you might from time to time want to add files/subfolders into other Sketchup folders... I recommend you also fix the permissions of the Components, Materials and Styles folders...

    TIG

    1 Reply Last reply Reply Quote 0
    • P Offline
      picky1958
      last edited by 10 Feb 2013, 08:35

      Ok, now I really tryed every single combination and I'm still not able to make it work. I guess I am giving up on this one 😞 Is there any other tool I can use just to trace around the transparent part of a png without having to do it manually? Probably not, ha? Thanks for your help.
      Ralf

      1 Reply Last reply Reply Quote 0
      • L Offline
        leminilab
        last edited by 10 Feb 2013, 09:26

        Adding a Windows Admin account with a password (don't know if it has something to do with it...) did the trick for me.

        • "Live every day as if it were your last and then some day you'll be right."
        • "ThomThom rules!!!"
        1 Reply Last reply Reply Quote 0
        • P Offline
          picky1958
          last edited by 10 Feb 2013, 09:29

          Hi leminilab, that's worth a try! Did you run SU from that account then?

          1 Reply Last reply Reply Quote 0
          • L Offline
            leminilab
            last edited by 10 Feb 2013, 10:00

            @picky1958 said:

            Hi leminilab, that's worth a try! Did you run SU from that account then?

            Yes. I think I re-installed SU and Image Trimmer on this account and it worked.

            Sorry for not being more positive about this but I had to format my pc and I haven't needed image trimmer since...

            • "Live every day as if it were your last and then some day you'll be right."
            • "ThomThom rules!!!"
            1 Reply Last reply Reply Quote 0
            • P Offline
              picky1958
              last edited by 10 Feb 2013, 10:29

              @leminilab said:

              @picky1958 said:

              Hi leminilab, that's worth a try! Did you run SU from that account then?

              Yes. I think I re-installed SU and Image Trimmer on this account and it worked.

              Sorry for not being more positive about this but I had to format my pc and I haven't needed image trimmer since...

              I tryed it... not working either. 😞 Thanks anyways. Ralf

              1 Reply Last reply Reply Quote 0
              • L Offline
                leminilab
                last edited by 10 Feb 2013, 12:49

                Have you got Java installed?

                • "Live every day as if it were your last and then some day you'll be right."
                • "ThomThom rules!!!"
                1 Reply Last reply Reply Quote 0
                • P Offline
                  picky1958
                  last edited by 10 Feb 2013, 12:58

                  @leminilab said:

                  Have you got Java installed?

                  Yes, I do.

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    leminilab
                    last edited by 10 Feb 2013, 13:24

                    Well Admin acount and Java were the two culprits for me. I'm out of ides... Sorry...

                    • "Live every day as if it were your last and then some day you'll be right."
                    • "ThomThom rules!!!"
                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      eLaCiD
                      last edited by 28 Mar 2013, 08:25

                      Sorry on this old question but I try to find solution w/o success.
                      I read all of posts here but on the end need help.
                      ImageTrimmer don't work

                      Let's go πŸ˜„

                      Windows XP pro
                      IE 8
                      SU 8

                      Folder is C:/Temp
                      Image is Test.png

                      Plugin folder
                      PluginsFolder.png

                      SKMtools folder
                      SKMtoolsFolder.png

                      When I start ImageTrimmer from SU (Tools-ImageTrimer) status line show it works.
                      After a while process is finished but nothing heppened.
                      In folder C:/Temp/TrimmedImages (after this there is only Test.png w/o other two files.
                      Path in files "from.ini" and "to.ini" is ok.

                      RC shows
                      RC1.png

                      If I try manualy with click on EdgeDetector.jar then in folder C:/Temp/TrimmedImages appears and other files - Test[Edges].dat and Test[Edges].png

                      I try from RC with this result
                      RC2.png

                      What now?

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        TIG Moderator
                        last edited by 28 Mar 2013, 09:03

                        The error tells you is is not making the .dat file.
                        This is made on the .jar side so it suggests one of several things...
                        Do you have FULL security permissions to the Plugins folder and its subfolders and their contents?
                        Select icon right-click context menu > Properties > Security > Edit > FULL... [perhaps as an Admin?]
                        Because it reads/writes files from the SKMtools subfolder this must be fully accessible to 'ALL'...

                        Another possibility...
                        Do you have Java installed on your PC ?
                        If not install it, it's freely available on the http://www...

                        Next are JAR files set to 'open' [execute] with Java ?
                        A JAR file is a small executable that is run by Java to do a simple task - here it processes image data, not readily available cross-platform with SketchUp's version of Ruby alone...
                        A default Java installation should be set to execute JARs, BUT if you have installed certain deCompression [ZIP] applications they may have a list of file-associations which 'hijack' various file-types and then open them directly within that app, rather than their native application as required for JARs. JAR is often one of those file-types... to correct it open the deCompression [ZIP] app and then open its settings/options dialog - look for a file-associations tab... uncheck JAR, Save the changes and close...

                        ...and retry ImageTrimmer...

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          eLaCiD
                          last edited by 28 Mar 2013, 09:29

                          Unfortunately there is not option Security 😞

                          Java is already instaled
                          Java.png

                          WinRar setings is
                          WinRaR.png

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            TIG Moderator
                            last edited by 28 Mar 2013, 10:45

                            These Java Control Panel settings work for me - see the screen-shots attached...
                            Windows XP permissions work slightly differently from more recent Windows versions... BUT you can still make sure that you have unrestricted access-rights to the Plugins folder and its contents...
                            http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sag_seconceptsunobject.mspx?mfr=true
                            http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sag_seconceptsunobject.mspx?mfr=true


                            JSec.PNG


                            JCP.PNG

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • E Offline
                              eLaCiD
                              last edited by 28 Mar 2013, 12:13

                              My Java Control Panel settings are same as yours.

                              This made help abut how to put security tab πŸ˜„
                              http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sag_seconceptsunobject.mspx?mfr=true

                              Then with rigt_click

                              Plugins>Properties>Security
                              and in Plugins Folder
                              SKMgtools>Properties>Security

                              for all Group and user names all permission are marked - Allowe

                              Then I triggered ImageTrimmer.
                              Unfortunately 😞 situation ia same like before.

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                TIG Moderator
                                last edited by 28 Mar 2013, 12:47

                                πŸ˜•
                                Can you post the PNG you are trying to Trim...
                                At least if I can ImageTrim it we know it ought to work...
                                PM it if it's confidential...

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • E Offline
                                  eLaCiD
                                  last edited by 28 Mar 2013, 13:02

                                  @tig said:

                                  :?
                                  Can you post the PNG you are trying to Trim...
                                  At least if I can ImageTrim it we know it ought to work...
                                  PM it if it's confidential...

                                  I think is not conected with images because I tried a few different PNG among other and this (downloaded from here)with no result.

                                  HamsterWheel%2001.png

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TIG Moderator
                                    last edited by 28 Mar 2013, 13:13

                                    Works fine for me, so please post all of your Java settings and double-check that JAR files are set to open [execute] with Java...
                                    The ZIP contains the input/skp/output...


                                    HamsterWheel%2001.zip


                                    HamsterWheel%2001Capture.PNG

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • E Offline
                                      eLaCiD
                                      last edited by 28 Mar 2013, 13:39

                                      Java settings :

                                      JavaSettings.png

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 28 Mar 2013, 15:20

                                        The only difference I have is the last item Java Quick Starter is unchecked in my version, BUT I'd not expect that to be an issue...

                                        Can you run Sketchup as an Admin and see if it helps...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • E Offline
                                          eLaCiD
                                          last edited by 28 Mar 2013, 19:47

                                          @tig said:

                                          The only difference I have is the last item Java Quick Starter is unchecked in my version, BUT I'd not expect that to be an issue...

                                          Can you run Sketchup as an Admin and see if it helps...

                                          Nothing new.... same old story 😞

                                          I tried once again and got just basic file in TrimmedImages folder.

                                          Then, as you can see, I tried with input in RC, but TrimmedImages folder stay unchanged still only basic image.

                                          RC3.png

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 9
                                          • 10
                                          • 11
                                          • 12
                                          • 13
                                          • 18
                                          • 19
                                          • 11 / 19
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement