| 
						
					 | 
					
						
						
							
						
						c564cabc66
					 | 
					
						
						
							
							Reorganise tiffread.c and reduce number of loops in read_strips
						
						
						
						
						
						
					 | 
					
						2024-05-26 15:09:16 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						19a87c5c4f
					 | 
					
						
						
							
							Read each strip in a separate thread
						
						
						
						
						
						
					 | 
					
						2024-05-26 14:55:18 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						dde1cce8e4
					 | 
					
						
						
							
							Load the image in a separate thread
						
						
						
						
						
						
					 | 
					
						2024-05-26 14:53:26 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						53c70156a6
					 | 
					
						
						
							
							Update .gitignore
						
						
						
						
						
						
					 | 
					
						2024-05-26 14:52:42 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ad4b7b40aa
					 | 
					
						
						
							
							Update .gitignore
						
						
						
						
						
						
					 | 
					
						2024-05-26 14:52:00 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						aa12b62e7e
					 | 
					
						
						
							
							Fix compile script
						
						
						
						
						
						
					 | 
					
						2024-05-26 14:51:53 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5762ac33b0
					 | 
					
						
						
							
							Reorganise type definitions
						
						
						
						
						
						
					 | 
					
						2024-05-12 17:34:03 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						efad22f21e
					 | 
					
						
						
							
							Fix alpha multiplication for images with unassociated alpha
						
						
						
						
						
						
					 | 
					
						2024-05-06 00:54:25 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d278d7ee55
					 | 
					
						
						
							
							Multiply RGB when reading image with unassociated alpha
						
						
						
						
						
						
					 | 
					
						2024-05-06 00:37:23 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						1c667f4128
					 | 
					
						
						
							
							Move all TIFF type definitions to the source file
						
						
						
						
						
						
					 | 
					
						2024-05-06 00:31:14 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c2391df946
					 | 
					
						
						
							
							Update main.c
						
						
						
						
						
						
					 | 
					
						2024-05-05 23:42:38 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						b2f002b12f
					 | 
					
						
						
							
							Increase MAIN_ARENA_CAPACITY
						
						
						
						
						
						
					 | 
					
						2024-05-05 23:41:14 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						cd424bf074
					 | 
					
						
						
							
							Remove NULL header, ifd and image definitions
						
						
						
						
						
						
					 | 
					
						2024-05-05 23:33:53 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						11798a0683
					 | 
					
						
						
							
							Main read functions return boolean
						
						
						
						
						
						
					 | 
					
						2024-05-05 23:26:02 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c2a55279fd
					 | 
					
						
						
							
							Rename load_image_pixels to read_image_pixels
						
						
						
						
						
						
					 | 
					
						2024-05-05 22:57:47 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						53f53874a6
					 | 
					
						
						
							
							Update 8-bit assertion
						
						
						
						
						
						
					 | 
					
						2024-05-05 22:51:17 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ba21bcb2f4
					 | 
					
						
						
							
							Switch internal reading functions to directly manipulate reader object
						
						
						
						
						
						
					 | 
					
						2024-05-05 22:46:13 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5bf78d3e01
					 | 
					
						
						
							
							Add comment
						
						
						
						
						
						
					 | 
					
						2024-05-05 22:13:37 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						38862899d0
					 | 
					
						
						
							
							Read bits per sample
						
						
						
						
						
						
					 | 
					
						2024-05-05 22:05:39 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f0d4108a64
					 | 
					
						
						
							
							Add reading alpha
						
						
						
						
						
						
					 | 
					
						2024-05-05 21:21:48 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3e3c4d27fe
					 | 
					
						
						
							
							Reorder type definitions
						
						
						
						
						
						
					 | 
					
						2024-05-05 19:47:20 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ed2737d330
					 | 
					
						
						
							
							Check field sizes against field type sizes instead of C primitives
						
						
						
						
						
						
					 | 
					
						2024-05-05 18:42:24 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9b7e07b9ad
					 | 
					
						
						
							
							Update .gitignore
						
						
						
						
						
						
					 | 
					
						2024-05-05 16:28:30 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						71b7c682db
					 | 
					
						
						
							
							Rename read_fields to read_ifd_fields
						
						
						
						
						
						
					 | 
					
						2024-05-05 16:25:39 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a9143642a0
					 | 
					
						
						
							
							Declare TiffReader before attempting to open the file
						
						
						
						
						
						
					 | 
					
						2024-05-04 23:52:15 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d195086af8
					 | 
					
						
						
							
							Make functions internal
						
						
						
						
						
						
					 | 
					
						2024-05-04 23:48:01 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3f022acf9c
					 | 
					
						
						
							
							Reorder functions
						
						
						
						
						
						
					 | 
					
						2024-05-04 23:46:24 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						484d30d84c
					 | 
					
						
						
							
							Add MAIN_ARENA_CAPACITY constant
						
						
						
						
						
						
					 | 
					
						2024-05-04 23:34:21 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						de0235c0af
					 | 
					
						
						
							
							Refactor reading the strip data fields into a function
						
						
						
						
						
						
					 | 
					
						2024-05-04 23:31:20 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						b546ce9fa7
					 | 
					
						
						
							
							Calculate strip field size once
						
						
						
						
						
						
					 | 
					
						2024-05-04 22:47:23 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c98802542d
					 | 
					
						
						
							
							Add TiffReader struct
						
						
						
						
						
						
					 | 
					
						2024-05-04 22:35:12 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9fdee24672
					 | 
					
						
						
							
							Refactor loading image data
						
						
						
						
						
						
					 | 
					
						2024-05-04 22:01:24 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						cd698a3921
					 | 
					
						
						
							
							Add debug flag to compile script
						
						
						
						
						
						
					 | 
					
						2024-05-04 22:01:05 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9312c0fb6b
					 | 
					
						
						
							
							Move TiffStrip array inside the TiffImage struct
						
						
						
						
						
						
					 | 
					
						2024-05-04 21:17:22 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						51f79275de
					 | 
					
						
						
							
							Assert image is RGB earlier
						
						
						
						
						
						
					 | 
					
						2024-05-04 20:59:57 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a508048211
					 | 
					
						
						
							
							Display loaded TIFF in SDL window
						
						
						
						
						
						
					 | 
					
						2024-05-04 19:15:34 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						8f9edb441a
					 | 
					
						
						
							
							Update .gitignore
						
						
						
						
						
						
					 | 
					
						2024-05-02 22:01:50 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						4b52630c1e
					 | 
					
						
						
							
							Implement reading RGB and RGBA images
						
						
						
						
						
						
					 | 
					
						2024-05-02 22:00:32 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c46535c20b
					 | 
					
						
						
							
							Test implementation of read_strips
						
						
						
						
						
						
					 | 
					
						2024-05-01 23:53:04 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						55720ac331
					 | 
					
						
						
							
							Fix bug with PPM writing
						
						
						
						
						
						
					 | 
					
						2024-05-01 23:52:46 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						8f20c7b30a
					 | 
					
						
						
							
							Update image creation function
						
						
						
						
						
						
					 | 
					
						2024-05-01 23:52:32 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						69c13b83ea
					 | 
					
						
						
							
							Read strip data
						
						
						
						
						
						
					 | 
					
						2024-05-01 00:17:53 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d508af1809
					 | 
					
						
						
							
							Refactor read_fields function
						
						
						
						
						
						
					 | 
					
						2024-04-30 22:17:17 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e371ca7160
					 | 
					
						
						
							
							Remove unnecessary comments
						
						
						
						
						
						
					 | 
					
						2024-04-30 22:01:55 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						eaa6e52fbe
					 | 
					
						
						
							
							Switch from using Allocator to Arena
						
						
						
						
						
						
					 | 
					
						2024-04-30 22:00:54 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3c6e5defb9
					 | 
					
						
						
							
							Fix compile script
						
						
						
						
						
						
					 | 
					
						2024-04-30 22:00:31 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a00e737652
					 | 
					
						
						
							
							Update compile script
						
						
						
						
						
						
					 | 
					
						2024-04-29 23:26:37 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						45276ffcc1
					 | 
					
						
						
							
							Update submodule
						
						
						
						
						
						
					 | 
					
						2024-04-29 23:25:16 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						2c1b844c64
					 | 
					
						
						
							
							Update .gitignore
						
						
						
						
						
						
					 | 
					
						2024-04-22 00:00:41 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ce7f30f7e3
					 | 
					
						
						
							
							Update submodules
						
						
						
						
						
						
					 | 
					
						2024-04-21 23:59:57 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 |