use optipng
This commit is contained in:
		
							parent
							
								
									e49d27a5ea
								
							
						
					
					
						commit
						ecb187a27c
					
				
					 4 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,9 +1,9 @@
 | 
			
		|||
.PHONY: all
 | 
			
		||||
all: pngcrush
 | 
			
		||||
all: optipng
 | 
			
		||||
	make -C ../asset
 | 
			
		||||
 | 
			
		||||
.PHONY: pngcrush
 | 
			
		||||
pngcrush: $(addprefix crushed/, $(wildcard *.png))
 | 
			
		||||
.PHONY: optipng
 | 
			
		||||
optipng: $(addprefix crushed/, $(wildcard *.png))
 | 
			
		||||
 | 
			
		||||
crushed/%.png: %.png
 | 
			
		||||
	pngcrush $< $@
 | 
			
		||||
	optipng -o7 $< -out $@
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 163 KiB After Width: | Height: | Size: 147 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 538 B After Width: | Height: | Size: 494 B  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 3.4 KiB  | 
		Reference in a new issue