161 Commits

Author SHA1 Message Date
vedang javdekar
1398c02100 Add support for importing .tx texture file format
- Added overloads for ImageWrappers to add meta information about sub images
- TX images are handled through libTIFF.
- TiffImageWrapper handles more than one directories in the TIFF file

#jira UE-177460
#rb JeanLuc.Corenthin, Julien.StJean

[CL 35836696 by vedang javdekar in ue5-main branch]
2024-08-27 16:34:49 -04:00
brandon schaefer
e64748d3de Disable the top modules that are not currently set to enable AutoRTFM
#rb neil.henning

[CL 34015003 by brandon schaefer in ue5-main branch]
2024-05-30 17:59:48 -04:00
charles bloom
7cf0236684 HdrImageWrapper : remove arbitrary 65536 dimension limit
correct place to put limits is in FImageCoreUtils::IsImageImportPossible

[FYI] fabian.giesen

[CL 33138003 by charles bloom in ue5-main branch]
2024-04-22 10:25:44 -04:00
charles bloom
837e868b5e Texture UEDelta filter to replace PNG filter
Simple North/Up pixel filter
parallel, simd
removes slow call into ImageWrapper just to run the PNGz0 filter
UEDelta works for udim, cubes, all pixel formats, there are no limitations or corner cases
#jira UE-181911
#rb fabian.giesen

[CL 32654283 by charles bloom in ue5-main branch]
2024-04-01 18:31:48 -04:00
martins mozeiko
6e1086c8dc Explicit error message when importing jpeg with unsupported CMYK colorspace.
#jira UE-210232
#rb Dan.Thompson, fabian.giesen

[CL 32517670 by martins mozeiko in ue5-main branch]
2024-03-26 14:27:33 -04:00
eric renaudhoude
e34f40ba3e ColorManagement: Remaining deprecation of headers & color management module, since they were moved to Core at CL 32299544.
#jira UE-201221
#rb Sebastien.Hillaire
#rnx

[CL 32470542 by eric renaudhoude in ue5-main branch]
2024-03-25 11:04:55 -04:00
charles bloom
49896082b2 TextureCompressorModule use ResizeImage for MaxTextureResolution so we can resize directly from source to dest size
bump DDC key for change in output of MaxTextureResolution affected textures
Also free source images and temporaries as they are consumed and no longer needed to reduce peak mem use
In the nop case, move the image instead of copying
#rb Dan.Thompson
#jira UE-204167

[CL 31470270 by charles bloom in ue5-main branch]
2024-02-14 09:06:31 -05:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
dan thompson
e34bd3836f Route png compress through user memory pointers.
#rb fabian.giesen

[CL 29755772 by dan thompson in ue5-main branch]
2023-11-15 14:49:16 -05:00
jon olick
2a17446e02 UE Jpeg: name change
#p4v-preflight-copy 29191952
#rb dan.thompson

[CL 29237577 by jon olick in ue5-main branch]
2023-10-30 12:46:08 -04:00
charles bloom
7b88e216b6 ImageWrapperBase : fix use of int should be int64
#rb charles.bloom
#rnx

[CL 29237091 by charles bloom in ue5-main branch]
2023-10-30 12:28:47 -04:00
jon olick
c166c4379d Oodle JPEG: FASTDCT flag which matches libjpegturbo's FASTDCT flag. Enabled for now so output matches.
#p4v-preflight-copy 29024880

[CL 29027278 by jon olick in ue5-main branch]
2023-10-23 23:15:16 -04:00
charles bloom
6c53b91dc6 fix ImageWrapperHelper identifying jpeg as grayscale
ImageWrapperHelper is deprecated, do not use

#rb fabian.giesen
#rnx

[CL 28727914 by charles bloom in ue5-main branch]
2023-10-12 16:43:38 -04:00
jon olick
fdeed47cb2 Oodle JPEG format support. Smaller UASSETs and much more hardened security focus by using Oodle as a backend.
#jira

[CL 27842762 by jon olick in ue5-main branch]
2023-09-13 14:47:22 -04:00
henrik karlsson
5db685f97d [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082269 by henrik karlsson in ue5-main branch]
2023-06-17 18:13:06 -04:00
chris tchou
4c181f3489 Fix potential overflow security issue importing landscape PNG files
#rb don.boogert, jonathan.bard
#jira UE-172842, UE-172835

[CL 25833042 by chris tchou in ue5-main branch]
2023-06-06 19:46:33 -04:00
charles bloom
833b42c326 JpegImageWrapper : remove unnecessary serializing critsec; libjpeg-turbo is now thread safe
fix error state was being retained in tjhandles, make new ones for each encode
fix InterchangeJPGTranslator using deprecated ImageWrapper code style

#rb dan.thompson,fabian.giesen
#rnx

[CL 25798648 by charles bloom in ue5-main branch]
2023-06-05 14:19:07 -04:00
charles bloom
e1fab21a75 IcnsImageWrapper fix Mac non-unity compile
#rb none
#rnx

[CL 25794186 by charles bloom in ue5-main branch]
2023-06-05 12:04:04 -04:00
charles bloom
152edc496d ImageCoreUtils::IsImageImportPossible can be checked before image import instead of after
#rb none
#rnx

[CL 25792081 by charles bloom in ue5-main branch]
2023-06-05 10:47:00 -04:00
charles bloom
9cd4768d6a [Backout] - CL25773063
[FYI] charles.bloom
Original CL Desc
-----------------------------------------------------------------
ExrImageWrapper : corrupt import should not be fatal, just an error
use runtime_exception for throws
fix return value of read function, though it seems not to be used

#preflight https://horde.devtools.epicgames.com/job/647a465ce75a226391b559bb
#rb none
#rnx

[CL 25782083 by charles bloom in ue5-main branch]
2023-06-03 12:43:06 -04:00
charles bloom
ec364946ec TiffImageWrapper : fix missing Reset function so state carried over in multiple uses of Wrapper
#preflight none
#rb none
#rnx

[CL 25775444 by charles bloom in ue5-main branch]
2023-06-02 18:04:40 -04:00
charles bloom
928b53aec3 Tga image importer cleanups and robustination
#preflight yes
#rb fabian.giesen
#rnx

[CL 25774569 by charles bloom in ue5-main branch]
2023-06-02 17:28:34 -04:00
charles bloom
4fd634eb54 ExrImageWrapper : corrupt import should not be fatal, just an error
use runtime_exception for throws
fix return value of read function, though it seems not to be used

#preflight https://horde.devtools.epicgames.com/job/647a465ce75a226391b559bb
#rb none
#rnx

[CL 25773157 by charles bloom in ue5-main branch]
2023-06-02 16:45:31 -04:00
charles bloom
225939ffcf ImageWrapperModule StressDecompressImage for automated corrupt image import testing
#preflight https://horde.devtools.epicgames.com/job/647a3c2f5e71ee4db65b19f3
#rb none
#rnx

[CL 25771464 by charles bloom in ue5-main branch]
2023-06-02 15:45:17 -04:00
charles bloom
dde5ea7405 fix image import crashes in Ico and Tga
#preflight https://horde.devtools.epicgames.com/job/6478cd4fe319748a834211e4
#rb fabian.giesen
#jira UE-187448,UE-187445
#rnx

[CL 25763310 by charles bloom in ue5-main branch]
2023-06-02 11:50:02 -04:00