[Plugin][Code]SKMtools,Material/ImageTools
-
erikB
Another typo in my code the latest [corrected] version is here
http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
This version also includes 'ImageTrimmer' - a tool to trim around transparent areas in a .png Image and make a new Component - useful to trim around 'cardboard' cutout people from photos etc... see here for more details http://forums.sketchucation.com/viewtopic.php?p=294815#p294815 -
Here's an update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
The 'ImageTrimmer' now has an option to simplify the outline and a new separate tool to do this post processing too. -
IMPORTANT NOTICE!
There has been a lone report of these tools not working - with a '.jar' file 'opening' rather than 'running'!
Many of these tools use small Java '.jar' executable files that do specific tasks like zip/unzip and image manipulation.I have found that I can reproduce this weirdness IF I let a 'zip/unzip' application like AlZip or WinRar 'poach' the '.jar' file-type as one that it will open. If so then when Ruby tries to 'open' a '.jar' file instead of it 'executing' in Java [like it should], it 'opens' in the decompression application...
The solution = look at your WinRar etc settings and ensure '.jar' is NOT one of its file-types for opening...
-
Here's an update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
A stupid typo preventing ImageTrimmer working properly on MAC is now corrected. -
Here's an update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
The time-out for ImageTrimmer file creation extended to 60secs to cater for larger files being slow to complete... -
Here's an update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
Some scripts have been recast to address glitches with MAC file paths.
Everyone should update to these new versions... -
Here's another update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
ImageTrimmer time-out for larger .dat files extended, EdgeDetector.jar improved... -
Here's an update - some minor issues fixed... http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
-
Here's another update - ImageTrimmer processing speed has been improved and 'hanging' is now much less likely... http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
-
Thank you TIG
-
Here's another update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
The Image and Material class extended methods will now only load if not already defined by SUp itself [==future-proofing since there's no medium-term hope of them doing this themselves?]. -
Here's an update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
ImageTrimmer - glitches with simplify etc addressed and speed improved. -
Here's an update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
Following the inclusion of mew methods in SUp's v8-M1...
Material.class extensions - aliases added for save_thumbnail()==.write_thumbnail() and .delete==.remove. The .name='' and .delete methods now match SUp >=v8-M1 returned values.
To allow the methods to work in pre-v8-M1 SUp versions... with the new SUp method names / syntax. -
Here's another update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
Following the inclusion of mew methods in SUp's v8-M1...
Material.class extensions - aliases added for save_thumbnail()==.write_thumbnail() and .delete==.remove. The .name='' and .delete methods now match SUp >=v8-M1 returned values.
To allow the methods to work in pre-v8-M1 SUp versions... with the new SUp method names / syntax.
The 'aliases' have be slightly recast to avoid removing the new methods. -
Here's an update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
The ImageTrimmer tool has an added option to 'flatten' the new materia's texture PNG [i.e. remove its transparency] so that it will then receive shadows.
Note that there is also a new jar FlattenPNG.jar that is used to do this. -
Here's an update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
A new tool has been added 'pngwhite2transparent.rb' and its matching jar file.
See its new thread for more details... -
Thanks alot TIG!
-
Here's an minor update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
The new tool 'pngwhite2transparent.rb' transparent color made by the .jar file is now 'white' [although you don't see it!].
See its new thread for more details... -
Here's an minor update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
For ImageTrimmer - 'Simplified image' - a rare error on delete edge is now trapped. -
Here's a major update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
The MAC execution of the jar files has been addressed - it affects most tools/methods.
You need Java installed/enabled and appropriate permissions to execute files and read/write to the ../Plugins/SKMtools folder. On a MAC you might be prompted to allow a jar file to run - if so answer 'yes' - this should only get asked the once for each jar-type...
Advertisement