On 9 April 2014 12:03, Kevin O'Gorman kogor...@gmail.com wrote:
I have a few hundred screen shots I want to put on a web page, but
they are all full-screen and I want to crop to the real contents.
This is an identical region in all cases. So I want to script it.
So, 2 questions:
A) What's
Slavko writes:
Ahoj,
Dňa Wed, 16 Apr 2014 09:20:54 +0200 Alberto Luaces
napísal:
In order to get the clipping coordinates, display from the same
package bringing convert can be used: press c and then drag the
mouse to define the region.
display loading is almost instantaneous.
I
Slavko writes:
Ahoj,
Dňa Tue, 15 Apr 2014 03:48:29 -0700 Kevin O'Gorman
kogor...@gmail.com napísal:
SOLVED. Thanks to whoever gave me the clue that convert(1) could do
the cropping. That and 2 bash scripts do all the work.
See this
On 2014-04-16, Alberto Luaces alua...@udc.es wrote:
display loading is almost instantaneous.
Whereas the gimp is gimpy.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive:
Ahoj,
Dňa Wed, 16 Apr 2014 09:20:54 +0200 Alberto Luaces alua...@udc.es
napísal:
In order to get the clipping coordinates, display from the same
package bringing convert can be used: press c and then drag the
mouse to define the region.
display loading is almost instantaneous.
I didn't
On Wed, Apr 9, 2014 at 3:03 AM, Kevin O'Gorman kogor...@gmail.com wrote:
I have a few hundred screen shots I want to put on a web page, but
they are all full-screen and I want to crop to the real contents.
This is an identical region in all cases. So I want to script it.
So, 2 questions:
A)
On Tue, 15 Apr 2014, Kevin O'Gorman wrote:
On Wed, Apr 9, 2014 at 3:03 AM, Kevin O'Gorman kogor...@gmail.com
wrote:
I have a few hundred screen shots I want to put on a web page, but
they are all full-screen and I want to crop to the real contents.
This is an identical region in all
Ahoj,
Dňa Tue, 15 Apr 2014 03:48:29 -0700 Kevin O'Gorman
kogor...@gmail.com napísal:
SOLVED. Thanks to whoever gave me the clue that convert(1) could do
the cropping. That and 2 bash scripts do all the work.
See this
# convert source -crop widthxheight+wo+ho target
Ah, gotcha. No problem. In the specific case of cropping,
it's pretty simple; other tasks, maybe the balance would
be tipped the other way.
In any case, it's only because of familiarity; I'll reach
for the hammer I know rather than the
On Sb, 12 apr 14, 12:26:48, Steve Litt wrote:
On Thu, 10 Apr 2014 00:43:45 +0300
Andrei POPESCU andreimpope...@gmail.com wrote:
On Mi, 09 apr 14, 08:59:51, Steve Litt wrote:
Or, you can just redirect ls into a file, use Vim to convert and
rename each file individually.
Could
On 13/04/14 20:21, Andrei POPESCU wrote:
On Sb, 12 apr 14, 12:26:48, Steve Litt wrote:
On Thu, 10 Apr 2014 00:43:45 +0300
Andrei POPESCU andreimpope...@gmail.com wrote:
On Mi, 09 apr 14, 08:59:51, Steve Litt wrote:
Or, you can just redirect ls into a file, use Vim to convert and
rename
On Wed, Apr 9, 2014 at 6:03 AM, Kevin O'Gorman kogor...@gmail.com wrote:
I have a few hundred screen shots I want to put on a web page, but
they are all full-screen and I want to crop to the real contents.
This is an identical region in all cases. So I want to script it.
So, 2 questions:
A)
On Du, 13 apr 14, 20:33:00, Scott Ferguson wrote:
for i in `ls *.png`;
Is there something wrong with
for i in *.png
?
Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
On 13/04/14 22:05, Andrei POPESCU wrote:
On Du, 13 apr 14, 20:33:00, Scott Ferguson wrote:
for i in `ls *.png`;
Is there something wrong with
for i in *.png
?
Yes.
It leaves no room for improvement.
Kind regards,
Andrei
Kind regards
--
To UNSUBSCRIBE, email to
On 2014-04-13, Andrei POPESCU andreimpope...@gmail.com wrote:
for i in `ls *.png`;
Is there something wrong with
for i in *.png
According to this, there is everything right:
http://mywiki.wooledge.org/BashPitfalls#for_i_in_.24.28ls_.2A.mp3.29
# POSIX
for i in *.png; do
[ -e $i ]
On 13 Apr 2014, at 11:33, Scott Ferguson
scott.ferguson.debian.u...@gmail.com wrote:
for i in `ls *.png`;
Never parse the output of ls.
for i in *.png;
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact
On Sun, 13 Apr 2014 13:21:19 +0300
Andrei POPESCU andreimpope...@gmail.com wrote:
On Sb, 12 apr 14, 12:26:48, Steve Litt wrote:
On Thu, 10 Apr 2014 00:43:45 +0300
Andrei POPESCU andreimpope...@gmail.com wrote:
On Mi, 09 apr 14, 08:59:51, Steve Litt wrote:
Or, you can just
On 13 Apr 2014, at 15:47, Steve Litt sl...@troubleshooters.com wrote:
Quick, relatively safe, and mistake-resistant, and without the immense
downside risk of various one-liners.
Another advantage, and a short coming of developing shell scripts I'd love to
see addressed one day: you can
On Thu, 10 Apr 2014 00:43:45 +0300
Andrei POPESCU andreimpope...@gmail.com wrote:
On Mi, 09 apr 14, 08:59:51, Steve Litt wrote:
Or, you can just redirect ls into a file, use Vim to convert and
rename each file individually.
Could you please elaborate on this?
ls -1 *.png doit.sh
On Sun, Apr 13, 2014 at 2:26 AM, Steve Litt sl...@troubleshooters.com wrote:
On Thu, 10 Apr 2014 00:43:45 +0300
Andrei POPESCU andreimpope...@gmail.com wrote:
On Mi, 09 apr 14, 08:59:51, Steve Litt wrote:
Or, you can just redirect ls into a file, use Vim to convert and
rename each file
for fn in *.png; do mv $fn $fn.bak; convert -crop whatever $fn.bak $fn; done
But that's assuming you know how to use 'convert -crop'
to do what you want, which I don't.
# convert source -crop geometry target
#
# geometry : width x height + w_offset + h_offset
#
# width x height
On Sun, Apr 13, 2014 at 5:48 AM, Cousin Stanley cousinstan...@gmail.com wrote:
Personally, I'd whip up a quick Pike script
# I think you also sprechen der python :-)
#!/usr/bin/env python
import subprocess as SP
process = SP.Popen( args , shell = False )
That's still calling on
convert -crop whatever $fn.bak $fn
But that's assuming you know how to use
'convert -crop' to do what you want, which I don't.
This is the part of your post
that I was attempting to address
and hopefully, clarify the use
of the geometry argument to -crop
since you stated
On Sun, Apr 13, 2014 at 1:42 PM, Cousin Stanley cousinstan...@gmail.com wrote:
convert -crop whatever $fn.bak $fn
But that's assuming you know how to use
'convert -crop' to do what you want, which I don't.
This is the part of your post
that I was attempting to address
and
On 04/09/2014 11:03 PM, Jonathan Dowland wrote:
On Wed, Apr 09, 2014 at 03:12:40PM +0200, Alex Mestiashvili wrote:
|
find . -name *.png | parallel -P8 convert -quality 95 {} -geometry 1280
/tmp/{.}.jpg|
Alternatively
find . -name *.png -exec convert -quality 95 {} -geometry 1280
2014-04-10 10:05 GMT+02:00 Alex Mestiashvili a...@biotec.tu-dresden.de:
On 04/09/2014 11:03 PM, Jonathan Dowland wrote:
On Wed, Apr 09, 2014 at 03:12:40PM +0200, Alex Mestiashvili wrote:
|
find . -name *.png | parallel -P8 convert -quality 95 {} -geometry
1280 /tmp/{.}.jpg|
On 04/09/2014 10:09 PM, Chris Bannister wrote:
On Wed, Apr 09, 2014 at 03:03:14AM -0700, Kevin O'Gorman wrote:
I have a few hundred screen shots I want to put on a web page, but
they are all full-screen and I want to crop to the real contents.
This is an identical region in all cases. So I
On 11/04/14 05:07, Ric Moore wrote:
On 04/09/2014 10:09 PM, Chris Bannister wrote:
On Wed, Apr 09, 2014 at 03:03:14AM -0700, Kevin O'Gorman wrote:
I have a few hundred screen shots I want to put on a web page, but
they are all full-screen and I want to crop to the real contents.
This is an
I have a few hundred screen shots I want to put on a web page, but
they are all full-screen and I want to crop to the real contents.
This is an identical region in all cases. So I want to script it.
So, 2 questions:
A) What's the best tool for the job? Gimp, irfanview, or something else?
B) Is
Kevin O'Gorman writes:
I have a few hundred screen shots I want to put on a web page, but
they are all full-screen and I want to crop to the real contents.
This is an identical region in all cases. So I want to script it.
If it's really the identical region of the screen I wold consider
On 09/04/14 20:03, Kevin O'Gorman wrote: I have a few hundred screen
shots I want to put on a web page, but
they are all full-screen and I want to crop to the real contents.
This is an identical region in all cases. So I want to script it.
So, 2 questions: A) What's the best tool for the
2014-04-09 12:03 GMT+02:00 Kevin O'Gorman kogor...@gmail.com:
I have a few hundred screen shots I want to put on a web page, but
they are all full-screen and I want to crop to the real contents.
This is an identical region in all cases. So I want to script it.
So, 2 questions:
A) What's
On 2014-04-09 03:03:14 Kevin O'Gorman wrote:
I have a few hundred screen shots I want to put on a web page, but
they are all full-screen and I want to crop to the real contents.
This is an identical region in all cases. So I want to script it.
So, 2 questions:
A) What's the best tool for
On Wed, 9 Apr 2014 03:03:14 -0700
Kevin O'Gorman kogor...@gmail.com wrote:
I have a few hundred screen shots I want to put on a web page, but
they are all full-screen and I want to crop to the real contents.
This is an identical region in all cases. So I want to script it.
So, 2 questions:
On 04/09/2014 12:03 PM, Kevin O'Gorman wrote:
I have a few hundred screen shots I want to put on a web page, but
they are all full-screen and I want to crop to the real contents.
This is an identical region in all cases. So I want to script it.
So, 2 questions:
A) What's the best tool for the
On Wed, Apr 09, 2014 at 03:12:40PM +0200, Alex Mestiashvili wrote:
|
find . -name *.png | parallel -P8 convert -quality 95 {} -geometry 1280
/tmp/{.}.jpg|
Alternatively
find . -name *.png -exec convert -quality 95 {} -geometry 1280 /tmp/{}.jpg +
note '+' not '\;' which denotes to run jobs
On Mi, 09 apr 14, 08:59:51, Steve Litt wrote:
Or, you can just redirect ls into a file, use Vim to convert and rename
each file individually.
Could you please elaborate on this?
Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and
On Wed, Apr 09, 2014 at 03:03:14AM -0700, Kevin O'Gorman wrote:
I have a few hundred screen shots I want to put on a web page, but
they are all full-screen and I want to crop to the real contents.
This is an identical region in all cases. So I want to script it.
So, 2 questions:
A) What's
38 matches
Mail list logo