made infinite text wrapping
This commit is contained in:
		
							parent
							
								
									4a96003262
								
							
						
					
					
						commit
						a13cfc3697
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								stuff.png
									
										
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								stuff.png
									
										
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 214 KiB After Width: | Height: | Size: 210 KiB | 
							
								
								
									
										8
									
								
								stuff.sh
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								stuff.sh
									
										
									
									
									
								
							|  | @ -2,4 +2,10 @@ | |||
| [ $# -eq 0 ] && exit 1 | ||||
| STUFF_FILE=/usr/share/stuff/stuff.png | ||||
| FILE=/tmp/$(date "+%Y-%m-%d-%H-%M-%S").png | ||||
| convert -pointsize 55 -fill black -annotate +10+300 "$@" -colorspace RGB $STUFF_FILE $FILE ; xclip -selection clipboard -t image/png -i $FILE | ||||
| LABEL_FILE=$FILE.label.png | ||||
| text=$@ | ||||
| 
 | ||||
| convert -background white -fill black -pointsize 80 label:"$text" $LABEL_FILE | ||||
| convert -gravity center $LABEL_FILE $STUFF_FILE +append $FILE  | ||||
| xclip -selection clipboard -t image/png -i $FILE | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue