raysan5
0db0e6acd8
WARNING: REMOVED: LoadImageEx()
Reason for removal: This function forces a specific Image data format, it copies data internally (it could be confusing and lead to memory leaks), it's redundant, there is a simpler alternative and raylib promotes using structures directly
5 years ago
raysan5
3f4c6fee11
Correct issue when not supporting GIF format
5 years ago
raysan5
c57323f29c
ADDED: LoadImageAnim() to load animated sequence of images
5 years ago
Doyle
00fda3be65
Fix incorrect color transform to 255 space ( #1297 )
5 years ago
Ray
5986eee6ab
Expose additional configuration options
Some internal defines have been exposed in config.h
5 years ago
Vlad Adrian
4d71e9b44f
Added new function `DrawTextureTiled()` ( #1291 )
* Implemented DrawTextureTiled()
* Example added
5 years ago
Ray
ba39a1b304
ADDED: UpdateTextureRec()
5 years ago
raysan5
e18c4c1158
REVIEWED: ColorAlphaBlend(), support tint color
5 years ago
raysan5
7ed7116e27
REVIEWED: ColorAlphaBlend(), integers-version, optimized #1218
5 years ago
raysan5
5a862bce29
REVIEWED: ImageDraw(), consider negative source offset properly #1283
5 years ago
raysan5
da582e2eec
REVIEWED: ImageDraw() #1283
5 years ago
raysan5
afcc584fb6
RE-ADDED: Fade() function to avoid multiple breaking changes
Probably there is a better way to do this but this is a temporary solution for backward compatibility
5 years ago
raysan5
589d606000
REDESIGNED: ImageDraw(), optimized #1218
After multiple tests and lot of redesign, current implementation is the fastest one. It also considers several fast-paths for maximum speed!
5 years ago
raysan5
32c0a7a135
Small code optimization
5 years ago
raysan5
bfa6544030
REDESIGNED: ImageResize(), optimized #1218
5 years ago
raysan5
691c1f9391
REDESIGNED: ImageFromImage(), optimized #1218
5 years ago
raysan5
ad954dc7ab
WARNING: BIG CHANGE: Move Color functions to texture module
WARNING: Some functions ADDED and some RENAMED:
- RENAMED: Fade() -> ColorAlpha() [Added #define for compatibility]
- ADDED: ColorAlphaBlend()
- ADDED: GetPixelColor()
- ADDED: SetPixelColor()
5 years ago
raysan5
ec09fea29a
REDESIGNED: ImageDraw(), optimization #1218
Trying a new optimization approach, some additional functions added, they will be probably exposed soon.
5 years ago
raysan5
15bfe44e73
REVIEWED: ImageDraw(), optimizations test #1218
Despite all the effort put on function optimization, dealing with alpha blending is complex, considering src and dst could have different pixel format...
5 years ago
raysan5
a6e6a99cb6
REDESIGNED: ImageAlphaClear(), optimized #1218
5 years ago
raysan5
4745ebeed5
REVIEWED: ImageResizeCanvas(), optimization #1218
Optimized to avoid ImageCrop() calls, now we define the source image rectangle and we just copy that data over the new canvas.
5 years ago
raysan5
dea0279a74
REVIEWED: ExportImage(), optimized
5 years ago
raysan5
7ef0fb4192
REVERTED: ExportImage() changes
Always using RGBA for now.
5 years ago
raysan5
82f7dd017e
REVIEWED: ImageAlphaPremultiply(), optimization
5 years ago
raysan5
40bc6afdbd
REVIEWED: ImageAlphaClear(), minor optimization
5 years ago
raysan5
87592e2625
Update textures.c
5 years ago
raysan5
d0e9228660
REDESIGNED: ImageResizeCanvas(), optimized #1218
5 years ago
raysan5
a9fb0aa207
ImageToPOT() renamed parameter
5 years ago
raysan5
b5174a9990
REVIEWED: ImageCrop() #1218
Further optimization, moving data line-by-line
Old optimization left for reference
5 years ago
raysan5
b7d53ce314
REVIEWED: ImageToPOT() #1218
Using ImageResizeCanvas()
5 years ago
raysan5
78c3d619f9
REVIEWED: ImageAlphaCrop() #1218
Now uses GetImageAlphaBorder()
5 years ago
raysan5
02ff68e1a3
REDESIGNED: ImageCrop(), optimized #1218
5 years ago
raysan5
7cf1e76d53
REVIEWED: ExportImage(), optimized #1218
Avoid GetImageData() retrieval and free
5 years ago
raysan5
776e4a37ef
REDESIGNED: ImageRotateCCW(), optimized #1218
5 years ago
raysan5
79e2fbe0c6
REDESIGNED: ImageRotateCW(), optimized #1218
5 years ago
raysan5
d278eae4a3
REDESIGNED: ImageFlipHorizontal(), optimized #1218
Added several optimized options for future reference (if required)
5 years ago
raysan5
93d6dd3023
REDESIGNED: ImageFlipVertical(), optimized #1218
5 years ago
raysan5
3792951023
REVIEWED: GetPixelDataSize() to consider compressed data properly
5 years ago
raysan5
b0f245d8c5
Review ExportImageAsCode() comment
5 years ago
raysan5
427e543d84
Corrected issue
Compression API requires functions provided by stbi_image_write (DEFLATE compression)
5 years ago
raysan5
4e8e90b6df
Add note comment on ExportImageAsCode()
5 years ago
raysan5
b95673f701
Use RL_FREE() instead of free()
5 years ago
raysan5
d3dece3343
REDESIGNED: ExportImageAsCode() to use memory buffer #1232
5 years ago
raysan5
795c079c55
Corrected issues on LoadPKM()
5 years ago
raysan5
0e56bc2929
Replace file accesses by memory accesses
Several functions used to load external files have been reviewed to just load the full file with LoadFileData() and load data from memory from there. This way all file access functionality is centralized in utils module.
Functions reviewed: LoadDDS(), LoadPKM(), LoadKTX(), LoadPVR(), LoadASTC(), SaveKTX()
5 years ago
raysan5
3a33fe0fd9
Avoid LoadImageEx() usage internally
At this point LoadImageEx() could be removed from raylib... still thinking about it...
5 years ago
raysan5
3a6af2cc57
Remove SUPPORT_IMAGE_DRAWING flag
ImageDraw() is actually used in multiple functions and it aslo depends on several functions...
5 years ago
raysan5
7a1d3d807f
WARNING: RENAMED: ImageExtractPalette() -> GetImagePalette()
5 years ago
raysan5
959447d8ed
Reorganized texture functions
Removed ImageAlphaMask() dependency on [text] LoadBMFont()
5 years ago
raysan5
d357b116fe
Reviewed missing check for JPG
5 years ago