Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
3
Newest
 Editor
Impact
0 people reached

Aug
8
revised Fedora 20 dosen't accept correct PIN for mobile broadband
added workaround if PIN2 cannot be disabled
Aug
8
answered Fedora 20 dosen't accept correct PIN for mobile broadband
Aug
4
comment How to convert, resize and center image with ImageMagick
Closely related: "How to mount a .jpg centered into a .pdf (using defined page size and borders)?" unix.stackexchange.com/q/43946
Aug
4
awarded  Editor
Aug
4
awarded  Excavator
Aug
4
comment Convert a folder of images into a multi-page pdf file using command line tools?
Hmm, does not yet crop to A4 aspect ratio though ;)
Aug
4
revised How to mount a .jpg centered into a .pdf (using defined page size and borders)?
Explained question better, according to comment thread in first answer.
Aug
4
suggested approved edit on How to mount a .jpg centered into a .pdf (using defined page size and borders)?
Aug
4
answered How to mount a .jpg centered into a .pdf (using defined page size and borders)?
Aug
4
comment convert images to pdf: How to make PDF Pages same size
General hint: $(echo "150*8.27" | bc) is still not great for floating point. Works here because it's a multiplication. For $(echo "150/8.27" | bc) though, the result is 18 (truncated to integer). Instead, call bc with higher scale: $(echo "150/8.27" | bc -l), the results is 18.137847….
Aug
4
comment Is there a unix command that gives the maximum of two numbers?
To conveniently call this within a shell script's file, you can pipe in the function definition to bc as well, right before the function call. No second file needed then :)
Jun
17
comment How can I make a montage which seamlessly tiles the same one image file?
Is it just me, or does montage / ImageMagic now take each input file only once, even if repeated multiple times?
Dec
12
awarded  Supporter