Optimize pdf files
This commit is contained in:
		
							parent
							
								
									3cef082a10
								
							
						
					
					
						commit
						ccc3b51c83
					
				
					 4 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -17,6 +17,7 @@ HTML_TEMPLATE = main.html
 | 
			
		|||
!png = |> convert %f %o |> %B.png
 | 
			
		||||
!compress_png = |> zopflipng %f %o |>
 | 
			
		||||
!compress_jpg = |> cjpeg -quality 80 -progressive -outfile %o %f |>
 | 
			
		||||
!compress_pdf = |> ps2pdf %f %o |>
 | 
			
		||||
 | 
			
		||||
JPG_OPT = -quality 80 -strip -interlace Plane
 | 
			
		||||
!blur_mini = |> convert %f -resize 400x400 -blur 0x8 $(JPG_OPT) %o |> blur_mini.jpg
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1 +1 @@
 | 
			
		|||
:foreach *.pdf |> ps2pdf %f %o |> %g_opt.pdf
 | 
			
		||||
:foreach *.pdf |> !tup_preserve |>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								files/resume.pdf
									
										
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								files/resume.pdf
									
										
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue