Kodi Community Forum

Full Version: Batch Processing Decompiled Texture File for >>>> (Resource Images Studios Coloured)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
This thread is to help support lynxstrike texture file with images sizes that are out of size compliance. You may choose to use and modify this if it suits your needs to other projects as well.

Begin:

Install Irfanview, completely free, no adware, no BS, completely free.
x32 here:
https://www.irfanview.com/main_download_engl.htm

x64 here:
https://www.irfanview.com/64bit.htm

Install context menu plugin for Windows (allows right click, push images to program feature > important for image selection over large sums)
https://www.irfanview.net/plugins/irfanv...plugin.exe

Save these two configuration files somewhere you can easily point to them when the time comes to parse the image processing part:

(Right click > Save as!) 
http://kittmaster.com/imagedump/kodi/Hei...0Width.ini
http://kittmaster.com/imagedump/kodi/Wid...Height.ini

Open Irfanview, pick an image, any image, on the keyboard, press the letter B to bring up the "Batch" options. Use the following two images to setup the options EXACTLY as you see in the images below:

Image

Image

In windows explorer, you will need to have the "dimensions" column turned on which is typically not active by default, open the folder where all the decompiled images are, in the right pane, right click, where it says: Name, Type, Size > Mouse over > Right click > Select "Dimensions". If Dimensions is not a listed option, at the bottom of the context menu > Select "More" and then select dimensions from there. You will want to then sort all the images by dimension.

The two .ini files deal with the two obvious cases of which is bigger than which... the not so obvious is when the dimension are equal like 250x250. You can use the Width Larger Than Height.ini for that case it will work as expected yielding the 161x109 when it is complete.

I don't want this text to be to long in tooth, so the video will make it clear as to the remaining guidance of what will happen and the remaining workflow. Some of it will be obvious, some not so much. 

Side Note: Irfanview and Irfanview thumbnail seems kind of "clunky" with the context menu operation, but that is legacy from way back to their early days but if you've used it as long as I have, it kind of makes sense workflow wise and it clears the noise of windows explorer and allows selective control over the files and how to push them neatly into Irfanview's batch operation for fast and easy manipulation without having to do it manually and leaves no room for error by doing it in this method. After you've done it for quite a while, you will find that it provides some good piece of mind and confidence in the end results. I have a website that used this method with over 200K image files, as you can imagine, there was no room for dupes or mistakes. Enjoy the vid.

http://www.kittmaster.com/imagedump/kodi/Irfanview.html
For the sake of expediency, here are the end results if you choose to download them, or you can do give the method a run on your end to ensure you can do it going forward as needed.

(Right click > save link as)

http://kittmaster.com/imagedump/kodi/Wid...ht-Adj.zip

http://kittmaster.com/imagedump/kodi/Hei...th-Adj.zip
(2024-06-27, 20:27)kittmaster Wrote: [ -> ]For the sake of expediency, here are the end results

Thanks Chris for all your help... I will go over this the weekend and let you know how it went Smile
(2024-06-27, 19:54)kittmaster Wrote: [ -> ]Save these two configuration files

Can not save the files. The link tries to open a webpage.
(2024-06-28, 18:15)lynxstrike Wrote: [ -> ]
(2024-06-27, 19:54)kittmaster Wrote: [ -> ]Save these two configuration files

Can not save the files. The link tries to open a webpage.

Hover your mouse over the link, right click, "Save link as". (Using chrome).
(2024-06-28, 19:06)kittmaster Wrote: [ -> ]Hover your mouse over the link, right click, "Save link as". (Using chrome).

Done... it was one of the chrome extensions that was misbehaving. Had to disable all extensions...
(2024-06-28, 20:50)lynxstrike Wrote: [ -> ]
(2024-06-28, 19:06)kittmaster Wrote: [ -> ]Hover your mouse over the link, right click, "Save link as". (Using chrome).

Done... it was one of the chrome extensions that was misbehaving. Had to disable all extensions...

Bad Chrome Extension, Bad Chrome Extension.... <slaps its wrist>
(2024-06-28, 19:06)kittmaster Wrote: [ -> ]Hover your mouse over the link, right click, "Save link as". (Using chrome).

Nop... cant finish downloading...

Image
Image
Image


Tried Chrome, Edge and FireFox... normal and incogninto windows. Disabled antivirus... and nothing... cant download.
that is because something is trying to download it as https

There is no s, dump it and try without the s.

SSL certs are stupid expensive and I don't do any commerce on my personal website, so that is why there is no little "lock" ... totally not needed... but the sites whine about it being "insecure".... they can just FO. Nothing insecure since there is no $$$ changing hands... LOL.
(2024-06-28, 21:03)kittmaster Wrote: [ -> ]There is no s, dump it and try without the s.

without the s
Image
(2024-06-27, 20:27)kittmaster Wrote: [ -> ]https://kittmaster.com/imagedump/kodi/Wi...ht-Adj.zip

Done
Try now, looks like the forum is adding the S. 

Right click, download, a prompt will ask to "keep insecure file" say yes... this applies to the .ini files above too... I fixed all the links.

Try and LMK.
(2024-06-28, 21:15)kittmaster Wrote: [ -> ]Try and LMK.

The first link is working, already downloaded the zip file.
Second link not working "Sorry, there was a problem we could not recover from.
The server returned a "500 - Whoops, looks like something went wrong."
(2024-06-28, 21:15)kittmaster Wrote: [ -> ]Try and LMK.

Done.
For some reason, is not the same "copy/paste" the link, to
open the forum in an incognito window, and right click the links, and save...

All done getting everything ready.
Tomorrow morning, I will get to this, with a fresh coffee brew Smile

Thanks Chris...
Pages: 1 2 3