On 9 April 2014 12: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
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 i
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 didn't know
On 2014-04-16, Alberto Luaces 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: https://lists.debian.org/slr
Slavko writes:
> Ahoj,
>
> Dňa Tue, 15 Apr 2014 03:48:29 -0700 "Kevin O'Gorman"
> 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
> https://www.ibm.com/developerworks/community/blogs/waldens
Ahoj,
Dňa Tue, 15 Apr 2014 03:48:29 -0700 "Kevin O'Gorman"
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
https://www.ibm.com/developerworks/community/blogs/waldensponderings/entry/2_fer_friday_c
On Tue, 15 Apr 2014, Kevin O'Gorman wrote:
> On Wed, Apr 9, 2014 at 3:03 AM, 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 wan
On Wed, Apr 9, 2014 at 3:03 AM, 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 b
> On 13 Apr 2014, at 15:47, Steve Litt 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 iteratively develop, tes
On Sun, 13 Apr 2014 13:21:19 +0300
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 wrote:
> >
> > > On Mi, 09 apr 14, 08:59:51, Steve Litt wrote:
> > > >
> > > > Or, you can just redirect ls into a file, use Vim to
> On 13 Apr 2014, at 11:33, Scott Ferguson
> 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 listmas...@lists.debian.org
Archive:
https://lists.d
On 2014-04-13, Andrei POPESCU 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" ] || continue
s
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, emai
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:
http://lists.alioth.debian.org/mailman/listin
On Wed, Apr 9, 2014 at 6:03 AM, 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 b
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 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 f
On Sb, 12 apr 14, 12:26:48, Steve Litt wrote:
> On Thu, 10 Apr 2014 00:43:45 +0300
> Andrei POPESCU 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 plea
>> # 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 th
On Sun, Apr 13, 2014 at 1:42 PM, Cousin Stanley 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 hopefully, clar
>
> 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 stat
On Sun, Apr 13, 2014 at 5:48 AM, Cousin Stanley 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, though;
> 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 heig
On Sun, Apr 13, 2014 at 2:26 AM, Steve Litt wrote:
> On Thu, 10 Apr 2014 00:43:45 +0300
> Andrei POPESCU 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
On Thu, 10 Apr 2014 00:43:45 +0300
Andrei POPESCU 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
chmod a+x doit.sh
g
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.
>>> Th
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 want
2014-04-10 10:05 GMT+02:00 Alex Mestiashvili :
> 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
>
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 /tmp/{}
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) Wh
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 d
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
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 j
On Wed, 9 Apr 2014 03:03:14 -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
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
2014-04-09 12:03 GMT+02:00 Kevin O'Gorman :
> 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 f
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 th
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
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 t
38 matches
Mail list logo