Results 1 to 6 of 6

Thread: OLE Object optimizing: looking for cmd tools

  1. #1
    Member
    Join Date
    Aug 2017
    Location
    France
    Posts
    7
    Thanks
    0
    Thanked 2 Times in 2 Posts

    OLE Object optimizing: looking for cmd tools

    Dear all,

    I have made a tool for my company for optimizing some files like Zip, jpg, png and docx/xlsx.

    The way it is optimizing the files is simple: It extract the zip/docx/xlsx file, then it search the jpg/png/docx/xlsx files inside to perform recursively the optimizing process (I'm using advzip, pngopt and mozjpeg).

    But inside the docx files, embedded zip are embedded inside OleObjects that I can not open.

    Is there any tools (command line tools) that can extract the oleobject embedded file and replace it with a new version ?

    Hope, you can be helpful. Thank you.

  2. #2
    Member nikkho's Avatar
    Join Date
    Jul 2011
    Location
    Spain
    Posts
    542
    Thanks
    214
    Thanked 163 Times in 104 Posts
    Maybe you can try FileOptimizer
    Anyway Leanify and ECT will do more or less the same.
    As for OLE I am afraid of not being able to find anything other than Document Press.

  3. #3
    Member
    Join Date
    Aug 2017
    Location
    France
    Posts
    7
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by nikkho View Post
    Maybe you can try FileOptimizer
    My tool is nearly as much efficient than FileOptimizer. I double checking that tomorrow.
    Quote Originally Posted by nikkho View Post
    As for OLE I am afraid of not being able to find anything other than Document Press.
    Yes, I've checked that and I tried to use the 6.02 docprc with my tool but it look like it didn't do something.

    Thank you.

  4. #4
    Member nikkho's Avatar
    Join Date
    Jul 2011
    Location
    Spain
    Posts
    542
    Thanks
    214
    Thanked 163 Times in 104 Posts
    Quote Originally Posted by Psykauze View Post
    My tool is nearly as much efficient than FileOptimizer. I double checking that tomorrow.
    Good!
    Hope you are able to share it.

  5. #5
    Member
    Join Date
    Aug 2017
    Location
    France
    Posts
    7
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by nikkho View Post
    Good!
    Hope you are able to share it.
    It is a crappy batch script so I do not want to share it but:
    - For jpeg, I am using mozjpeg (-perfect -copy all -progressive -optimize)
    - For png, I am using optipng -o7
    - For zip-like, I'm using an old version of advzip because it is more efficient when you zip a zip file with the old version than the new version. (My tool is better of 0,25% than FileOptimizer for docx files)

    (Maybe we can combine the old advzip for embedded zip and the new for final zip/docx)

  6. The Following User Says Thank You to Psykauze For This Useful Post:

    nikkho (26th November 2017)

  7. #6
    Member
    Join Date
    Aug 2017
    Location
    France
    Posts
    7
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Also, I found this https://github.com/decalage2/olefile
    But it need a python environment and I have not tested it yet.

  8. The Following User Says Thank You to Psykauze For This Useful Post:

    nikkho (27th November 2017)

Similar Threads

  1. Looking for a couple compression tools
    By zrlzahyj in forum Download Area
    Replies: 1
    Last Post: 2nd June 2017, 17:37
  2. Optimizing BWT decoding
    By Lucas in forum Data Compression
    Replies: 44
    Last Post: 19th April 2017, 05:19
  3. PDF optimizing
    By SvenBent in forum Data Compression
    Replies: 8
    Last Post: 16th January 2014, 13:37
  4. Lossy 3D Object transformation
    By EwenG in forum Data Compression
    Replies: 13
    Last Post: 24th February 2011, 14:29
  5. Interesting tools
    By lunaris in forum Data Compression
    Replies: 2
    Last Post: 25th August 2009, 23:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •