Jump to content



Photo

RACI


  • Please log in to reply
15 replies to this topic

#1 smashly

smashly

  • Active Members
  • PipPipPipPipPipPip
  • 1,635 posts

Posted 29 November 2007 - 07:53 AM

obsolete..

Edited by smashly, 05 October 2008 - 01:03 PM.








#2 Generator

Generator

    Code Generator

  • Active Members
  • PipPipPipPipPipPip
  • 1,617 posts

Posted 29 November 2007 - 08:04 AM

Very nice, works well.
One Important suggestion and if possible please add it. Usually image size do not go by exact numbers, and therefore, a scale should be available for resizing the image, the concept is like when you edit picture in paint. Instead of dragging width and height, increase both in a scale so it will look good in any size.

Just my thoughts. Keep up the good work

#3 ptrex

ptrex

    Universalist

  • MVPs
  • 2,399 posts

Posted 29 November 2007 - 08:04 AM

@smashly

Looking promissing, but I can't select a folder to go to correct ?

Regards

ptrex

#4 smashly

smashly

  • Active Members
  • PipPipPipPipPipPip
  • 1,635 posts

Posted 29 November 2007 - 08:13 AM

Thank you for the positive feedback.
Yep generator I'm actually working on a percentage scale method as I type. eg: % of original image for a new size.
Will be doing the same for the preview image as well
Make it so that the image keeps it's ratio when displayed or saved.

Sorry ptrex I should of mentioned Drag & Drop a folder into the save path field .. opps

Cheers

#5 ptrex

ptrex

    Universalist

  • MVPs
  • 2,399 posts

Posted 29 November 2007 - 08:49 AM

@smashly,

Thanks,

A file open dialog would be nice too. So that you can for instance point to a folder, and it would list all the JPG files to work on.

Best is also to build in a filder selection to say for instance files bigger than 500 Kb only.

Because you are not interested to run to compressor on already compressed files, which have schrunk to let's say 70 Kb.

Just some thoughts.

regards

ptrex

#6 Jex

Jex

    Polymath

  • Active Members
  • PipPipPipPip
  • 206 posts

Posted 30 November 2007 - 03:51 AM

Very useful script and im especially like tidy gui :P
I think if you add directory load function will be very good. I mean if you select directory, script will add all images in directory to list.
If we can select image quality will be good too.

Edited by Jex, 30 November 2007 - 03:52 AM.


#7 smashly

smashly

  • Active Members
  • PipPipPipPipPipPip
  • 1,635 posts

Posted 30 November 2007 - 05:15 AM

Thank You for the feedback and suggestions. :P

Edit: first post updated

Cheers

Edited by smashly, 12 January 2008 - 02:58 AM.


#8 smashly

smashly

  • Active Members
  • PipPipPipPipPipPip
  • 1,635 posts

Posted 26 December 2007 - 05:36 AM

Updated code in first post .. have fun

Cheers

#9 smashly

smashly

  • Active Members
  • PipPipPipPipPipPip
  • 1,635 posts

Posted 28 December 2007 - 11:40 PM

Updated first post with new feature

#10 zxzxzx

zxzxzx

    Wayfarer

  • Active Members
  • Pip
  • 86 posts

Posted 29 December 2007 - 04:13 PM

Hi,
Thanks to Generators idea I had a play with his posted code and decided to post another example based upon it.
Generator's Image Convertor thead Here
Resize function added and a couple of other trivial options thrown in as well..

Supported input formats:
BMP, GIF, ICO, JPG, PNG, TIFF

Suported output formats:
BMP, GIF, JPG, PNG, TIFF

Edit: 28-Dec-07:
Added Options for Save & Load settings on exit and startup
mild internall code corrections

Edit: 26-Dec-07:
Well I had a spare time at work on Xmas day at work
(Buggered if I'm actually going to do actual work while at work on Xmas day :))
So in boredom I added some mild updates to RACI instead...

Added Buttons For Add File(s), Add Folder, Browse (for save directory)
(Drag N Drop still works for List and Save folder)

Added Recurse Folder(s) option, works for Drag N Drop as well as Add Folder button:
No Recurse. (Only images in the selected folder)
Recurse One (Only recurse 1 folder deep in selected folder, only applys to drag and drop of a folder or folders, Add Folder btton will treat it as No Recurse).
Recurse All (recurse folders in folders till no more folders found).

Addd Filters for import of files, works with Add File(s) button, Add Folder button and Drag N Drop:
Extension Filter - Check the file types you want to add to the list.
Dimension Filters - Width, Height use either or both (based on Pixels)
Size Filter - Size is based on KB

Added Filter List Button - Use to filter out files already in the list by applying the set import filters to the images in the List.

Added Context Menu to List:
Browse - Opens the containing folder of selected item in the list with explorer
Edit - Opens the selected file with your windows default editor.
Open - Opens the selected file with your windows associted program.
(Any of the context menu functions automatically minimize RACI)

Added Checked count to List - To let a user know how many items in the list are checked.

Added Resize options for Percent Bigger and Percent Smaller then original image.

Added a "None" to Conversion format.
Using "None" for Coversion Format with Resize enabled then the output format will be taken from the input image extension.
In the above scenario if the input file is a *.ico file then the the output will be skipped for the file.

Added bbp setting for bmp
16 bbp - RGB 555, 16bbp (6) - RGB 565, 24 bpp - RGB 888, 32 bpp - RGB 888 No Alpha, 32 bpp RGB 888 + Alpha
(Default is 24 bpp - RGB 888)

Added Quality setting for jpg
Quality 0 ~ 100 (Default is 100)

Added Color and Compression setting for tif
Color 24/32 bit (Default is 24 bit)
Compression LZW/No Compression (Default is LZW)

Added Rename and Append Count to output image option:
Supports keeping the original filename or using just one new name with count or use the count as a name.
Can add the count to start or end or mid of the filename
Can pad the front of the count with any amount of zeros or none. eg: 0001 or 1
Note:
Rename and append count can be used without any conversion being done to the image if desired :P
(Handy if you want to just copy images to a new directory while appending a count to the image without format or resize conversion.)

Requires:
AutoIt v3.2.10.0 and an OS that has GDI+
randallc's _FileListToArrayFaster1e.au3 in RACI's script directory.

Files:
[attachment=18204:_FileLis...Faster1e.au3]

(previous version of RACI dl'd 16 times)
[attachment=18268:RACI_29_12_07.au3]

Feel free to report the bugs.
(I expect some bugs as I haven't tested everything properly yet and the code is pretty messy atm)
New Years day will probably be my next day to update the code, that's when I gotta work again....lmao

Happy Xmas & Have a Merry New Year to all ... weeeeee
I'm off for a home cooked xmas roast dinner ... w00t :blink:

Cheers

oks o ive posted my code!... its not very good scripting tho.. very noobish

Thank

#11 smashly

smashly

  • Active Members
  • PipPipPipPipPipPip
  • 1,635 posts

Posted 08 January 2008 - 05:26 AM

Another mild update to first post , code attached.

@zxzxzx :) .. welc

Cheers

#12 smashly

smashly

  • Active Members
  • PipPipPipPipPipPip
  • 1,635 posts

Posted 12 February 2008 - 12:02 AM

Added another version that works with AutoIt 3.2.11.0 beta
(Both versions have the exact same options, just added beta support)
Updated first post.
Cheers

#13 Squirrely1

Squirrely1

    Stove pipe won't shut.

  • Active Members
  • PipPipPipPipPipPip
  • 726 posts

Posted 14 February 2008 - 05:24 AM

squirrely1 finally found a good image converter.
Das Häschen benutzt Radar

#14 smashly

smashly

  • Active Members
  • PipPipPipPipPipPip
  • 1,635 posts

Posted 28 February 2008 - 04:16 PM

Updated first post with a couple of bug fixes and also using WeaponX recursive search function.

Enjoy "N" Cheers

#15 ptrex

ptrex

    Universalist

  • MVPs
  • 2,399 posts

Posted 29 February 2008 - 07:43 AM

@smashly

This is a realy nice application !! :)

Regards

ptrex

#16 muhmuuh

muhmuuh

    Adventurer

  • Active Members
  • PipPip
  • 147 posts

Posted 08 March 2008 - 06:52 PM

lol this is totally awesome
keep up the good work man
:)
I ran. I ran until my muscles burned and my veins pumped battery acid. Then I ran some more.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users