Jump to content

tga can be compressed so if that one is any change will significantly affect size in an uncontrollable way.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
https://linustechtips.com/topic/1290071-editing-tga/#findComment-14364182
Share on other sites

Link to post
Share on other sites

Additionally, making ANY edits to the image itself will change the contents of the image and thereby affect the file size (either larger or smaller). You'd have to get incredibly lucky I'd imagine to make edits in a way that cancel out file size changes down to the byte level.

 

EDIT: Only valid for compressed image formats.

Be sure to QUOTE or TAG me in your reply so I see it!

 

CPU Ryzen 7 5800X3D GPU EVGA 3080 Ti FTW3 Ultra MOBO Asus ROG Strix B550-F Gaming RAM Crucial Ballistix 3600 MHz CL16 32 GB PSU Corsair RM1000x COOLING Noctua NH-D15

Link to comment
https://linustechtips.com/topic/1290071-editing-tga/#findComment-14364194
Share on other sites

Link to post
Share on other sites

2 minutes ago, RAS_3885 said:

Additionally, making ANY edits to the image itself will change the contents of the image and thereby affect the file size (either larger or smaller). You'd have to get incredibly lucky I'd imagine to make edits in a way that cancel out file size changes down to the byte level.

On an uncompressed format like BMP the file size is directly defined by the image dimensions (plus header, but you can take care of that), the content doesn't matter.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
https://linustechtips.com/topic/1290071-editing-tga/#findComment-14364204
Share on other sites

Link to post
Share on other sites

Just now, Kilrah said:

On an uncompressed format like BMP the file size is directly defined by the image dimensions (plus header, but you can take care of that), the content doesn't matter.

Huh, well I learned something today I guess!

 

I always assumed that at some level the R/G/B values of each pixel lead to SLIGHTLY different data sizes, but this was based off me really only ever dealing with compressed image formats.

Be sure to QUOTE or TAG me in your reply so I see it!

 

CPU Ryzen 7 5800X3D GPU EVGA 3080 Ti FTW3 Ultra MOBO Asus ROG Strix B550-F Gaming RAM Crucial Ballistix 3600 MHz CL16 32 GB PSU Corsair RM1000x COOLING Noctua NH-D15

Link to comment
https://linustechtips.com/topic/1290071-editing-tga/#findComment-14364220
Share on other sites

Link to post
Share on other sites

8 minutes ago, Kilrah said:

On an uncompressed format like BMP the file size is directly defined by the image dimensions (plus header, but you can take care of that), the content doesn't matter.

 

5 minutes ago, RAS_3885 said:

Huh, well I learned something today I guess!

 

I always assumed that at some level the R/G/B values of each pixel lead to SLIGHTLY different data sizes, but this was based off me really only ever dealing with compressed image formats.

Thanks for the help guys but i firgured it out. 

Im using the Unity Asset Bundle extractor to edit 7 days to die.

Seems like once i've rebuilt the .bundle file th program compresses it down for me

 

 

Link to comment
https://linustechtips.com/topic/1290071-editing-tga/#findComment-14364245
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×