|
|
| Next: Install FC6? |
| Author |
Message |
David T. Ashley External

Since: May 13, 2006 Posts: 10
|
Posted: Fri Dec 29, 2006 1:03 am Post subject: Easy Method to Find Dimensions of JPG Image Archived from groups: comp>unix>programmer, others (more info?) |
|
|
|
|
| Back to top |
|
 |
left_coast External

Since: Jul 19, 2006 Posts: 692
|
Posted: Fri Dec 29, 2006 1:03 am Post subject: Re: Easy Method to Find Dimensions of JPG Image [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
|
|
| Back to top |
|
 |
Chris F.A. Johnson External

Since: Oct 06, 2004 Posts: 589
|
Posted: Fri Dec 29, 2006 1:49 am Post subject: Re: Easy Method to Find Dimensions of JPG Image [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On 2006-12-29, David T. Ashley wrote:
> I've been experimenting with ImageMagick, i.e.
>
> http://www.dtashley.com/howtos/2006/12/imagemagick_thumbnails/
>
> The one missing element (as I lay out web pages manually) is that I'm not
> aware of a command (ImageMagick or other) that will display the pixel
> dimensions of a .JPG image.
identify -format '%w %h\n' IMAGE.jpg
--
Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence |
|
| Back to top |
|
 |
Michael C. External

Since: Jul 10, 2006 Posts: 29
|
Posted: Fri Dec 29, 2006 7:07 am Post subject: Re: Easy Method to Find Dimensions of JPG Image [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
["Followup-To:" header set to alt.os.linux.]
On Fri, 29 Dec 2006 01:03:18 -0500,
David T. Ashley <dta.RemoveThis@e3ft.com> wrote:
> I've been experimenting with ImageMagick, i.e.
>
> http://www.dtashley.com/howtos/2006/12/imagemagick_thumbnails/
>
> The one missing element (as I lay out web pages manually) is that I'm not
> aware of a command (ImageMagick or other) that will display the pixel
> dimensions of a .JPG image.
identify -format "%wx%h" image.jpg
identify is part of ImageMagick.
I have a Bash script on my site,
http://mcsuper5.freeshell.org/stripdups/stripdups
that attempts to find duplicate images that uses identify in
multiple places, and creates a webpage. I haven't played with it
in a while, but it worked reasonably well. By default it
requires you to edit a file if dups are found, you delete the
lines for the images you wish to keep.
HTH,
Michael C.
--
mcsuper5.RemoveThis@freeshell.org http://mcsuper5.freeshell.org/
Someone asked me the difference between ignorance and apathy,
I told them I don't know and I don't care. |
|
| Back to top |
|
 |
David T. Ashley External

Since: May 13, 2006 Posts: 10
|
Posted: Fri Dec 29, 2006 1:16 pm Post subject: Re: Easy Method to Find Dimensions of JPG Image [Login to view extended thread Info.] Archived from groups: alt>os>linux (more info?) |
|
|
"Michael C." <mjchappell.DeleteThis@verizon.net> wrote in message
news:slrnep9ep2.3nr.mjchappell@cerberus.softshoppe.net...
> ["Followup-To:" header set to alt.os.linux.]
> On Fri, 29 Dec 2006 01:03:18 -0500,
> David T. Ashley <dta.DeleteThis@e3ft.com> wrote:
>> I've been experimenting with ImageMagick, i.e.
>>
>> http://www.dtashley.com/howtos/2006/12/imagemagick_thumbnails/
>>
>> The one missing element (as I lay out web pages manually) is that I'm
>> not
>> aware of a command (ImageMagick or other) that will display the pixel
>> dimensions of a .JPG image.
>
> identify -format "%wx%h" image.jpg
>
> identify is part of ImageMagick.
>
> I have a Bash script on my site,
>
> http://mcsuper5.freeshell.org/stripdups/stripdups
>
> that attempts to find duplicate images that uses identify in
> multiple places, and creates a webpage. I haven't played with it
> in a while, but it worked reasonably well. By default it
> requires you to edit a file if dups are found, you delete the
> lines for the images you wish to keep.
Thanks a lot. The Bash script you linked to is a good starting point for
me. I'm trying to do approximately the same thing. I get a bunch of photos
off my digital camera and into a directory, and the first task for me is to
make thumbnails with links and arrange them into a web page. This is very
laborious.
I don't see any need to overcomplicate the matter. If a Bash script has
enough control functionality to make it happen, ... I'm not seeing the need
to use a scripting language or write a 'C' program.
Thanks again. |
|
| Back to top |
|
 |
ray External

Since: Nov 13, 2004 Posts: 3387
|
Posted: Fri Dec 29, 2006 4:55 pm Post subject: Re: Easy Method to Find Dimensions of JPG Image [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Fri, 29 Dec 2006 13:16:16 -0500, David T. Ashley wrote:
> "Michael C." <mjchappell.DeleteThis@verizon.net> wrote in message
> news:slrnep9ep2.3nr.mjchappell@cerberus.softshoppe.net...
>> ["Followup-To:" header set to alt.os.linux.]
>> On Fri, 29 Dec 2006 01:03:18 -0500,
>> David T. Ashley <dta.DeleteThis@e3ft.com> wrote:
>>> I've been experimenting with ImageMagick, i.e.
>>>
>>> http://www.dtashley.com/howtos/2006/12/imagemagick_thumbnails/
>>>
>>> The one missing element (as I lay out web pages manually) is that I'm
>>> not
>>> aware of a command (ImageMagick or other) that will display the pixel
>>> dimensions of a .JPG image.
>>
>> identify -format "%wx%h" image.jpg
>>
>> identify is part of ImageMagick.
>>
>> I have a Bash script on my site,
>>
>> http://mcsuper5.freeshell.org/stripdups/stripdups
>>
>> that attempts to find duplicate images that uses identify in
>> multiple places, and creates a webpage. I haven't played with it
>> in a while, but it worked reasonably well. By default it
>> requires you to edit a file if dups are found, you delete the
>> lines for the images you wish to keep.
>
> Thanks a lot. The Bash script you linked to is a good starting point for
> me. I'm trying to do approximately the same thing. I get a bunch of photos
> off my digital camera and into a directory, and the first task for me is to
> make thumbnails with links and arrange them into a web page. This is very
> laborious.
>
> I don't see any need to overcomplicate the matter. If a Bash script has
> enough control functionality to make it happen, ... I'm not seeing the need
> to use a scripting language or write a 'C' program.
>
> Thanks again.
'imageindex' is what I use for doing the thumbnails etc. and making the
web page. See examples at www.rcarter.net/local.html |
|
| Back to top |
|
 |
David T. Ashley External

Since: May 13, 2006 Posts: 10
|
Posted: Fri Dec 29, 2006 7:19 pm Post subject: Re: Easy Method to Find Dimensions of JPG Image [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
"Michael C." <mjchappell.RemoveThis@verizon.net> wrote in message
news:slrnep9ep2.3nr.mjchappell@cerberus.softshoppe.net...
>
> I have a Bash script on my site,
>
> http://mcsuper5.freeshell.org/stripdups/stripdups
>
> that attempts to find duplicate images that uses identify in
> multiple places, and creates a webpage. I haven't played with it
> in a while, but it worked reasonably well. By default it
> requires you to edit a file if dups are found, you delete the
> lines for the images you wish to keep.
Thanks. I appreciate it. Your script is a good starting point for me. I
just unload large groups of images from my digital camera and want a
"starting point" web page with thumbnails created. |
|
| Back to top |
|
 |
Peter Kai Jensen External

Since: Oct 23, 2006 Posts: 202
|
Posted: Fri Dec 29, 2006 9:55 pm Post subject: Re: Easy Method to Find Dimensions of JPG Image [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
David T. Ashley wrote:
> I don't see any need to overcomplicate the matter. If a Bash script
> has enough control functionality to make it happen, ... I'm not seeing
> the need to use a scripting language or write a 'C' program.
Heh, I'm suddenly reminded of the lesson of Master Foo and the Ten
Thousand Lines:
http://catb.org/~esr/writings/taoup/html/ten-thousand.html
A lesson that all too many people (myself included) forget from time to
time ...
--
PeKaJe
Word is a fine tool when you don't need your output to look identical on
every machine that might use it. -- Erik Funkenbusch, Microsoft apologist |
|
| Back to top |
|
 |
Baron External

Since: Dec 14, 2006 Posts: 12
|
Posted: Fri Dec 29, 2006 10:16 pm Post subject: Re: Easy Method to Find Dimensions of JPG Image [Login to view extended thread Info.] Archived from groups: comp>unix>programmer, others (more info?) |
|
|
David T. Ashley wrote:
> I've been experimenting with ImageMagick, i.e.
>
> http://www.dtashley.com/howtos/2006/12/imagemagick_thumbnails/
>
> The one missing element (as I lay out web pages manually) is that
> I'm not aware of a command (ImageMagick or other) that will display
> the pixel dimensions of a .JPG image.
>
> ???
>
> Thanks.
>
> P.S.--All of my photo web pages are really boring and have the same
> layout, i.e.
>
> http://www.dtashley.com/photos/2006/pics20060910/index2.php
>
> I normally edit the HTML or PHP on a Linux box, so I'm looking for a
> command that I can execute on the Linux box that will give me the
> dimensions an arbitrary JPG file.
In KDE holding the mouse cursor over an image gives me a thumbnail
with all the data inc pixel size !
--
Best Regards:
Baron. |
|
| Back to top |
|
 |
Doug Mitton External

Since: Oct 14, 2005 Posts: 37
|
Posted: Sat Dec 30, 2006 8:49 am Post subject: Re: Easy Method to Find Dimensions of JPG Image [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
"David T. Ashley" <dta.RemoveThis@e3ft.com> wrote:
>I've been experimenting with ImageMagick, i.e.
>
>http://www.dtashley.com/howtos/2006/12/imagemagick_thumbnails/
>
>The one missing element (as I lay out web pages manually) is that I'm not
>aware of a command (ImageMagick or other) that will display the pixel
>dimensions of a .JPG image.
If you like a GUI I've been using gThumb as a general image browser.
It also displays specs on the image being viewed.
http://gthumb.sourceforge.net/
--
------------------------------------------------
http://www3.sympatico.ca/dmitton
SPAM Reduction: Remove "x." from my domain.
------------------------------------------------
--
Posted via a free Usenet account from http://www.teranews.com |
|
| Back to top |
|
 |
Allodoxaphobia External

Since: Aug 20, 2004 Posts: 114
|
Posted: Sun Dec 31, 2006 7:17 pm Post subject: Re: Easy Method to Find Dimensions of JPG Image [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Fri, 29 Dec 2006 01:03:18 -0500, David T. Ashley wrote:
> I've been experimenting with ImageMagick, i.e.
>
> http://www.dtashley.com/howtos/2006/12/imagemagick_thumbnails/
>
> The one missing element (as I lay out web pages manually) is that I'm not
> aware of a command (ImageMagick or other) that will display the pixel
> dimensions of a .JPG image.
Well, if you are laying out your pages manually, you are also probably
viewing/browsing the images to select the one(s) that concern you.
Viewing the images with konqueror displays the pixel size in the title bar.
Jonesy
--
Marvin L Jones | jonz | W3DHJ | linux
38.24N 104.55W | @ config.com | Jonesy | OS/2
*** Killfiling google posts: <http//jonz.net/ng.htm> |
|
| Back to top |
|
 |
Baron External

Since: Dec 14, 2006 Posts: 12
|
Posted: Sun Dec 31, 2006 9:43 pm Post subject: Re: Easy Method to Find Dimensions of JPG Image [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Allodoxaphobia wrote:
> On Fri, 29 Dec 2006 01:03:18 -0500, David T. Ashley wrote:
>> I've been experimenting with ImageMagick, i.e.
>>
>> http://www.dtashley.com/howtos/2006/12/imagemagick_thumbnails/
>>
>> The one missing element (as I lay out web pages manually) is that
>> I'm not aware of a command (ImageMagick or other) that will display
>> the pixel dimensions of a .JPG image.
>
> Well, if you are laying out your pages manually, you are also
> probably viewing/browsing the images to select the one(s) that
> concern you. Viewing the images with konqueror displays the pixel
> size in the title bar.
>
> Jonesy
I did point out to the OP that "In KDE holding the mouse cursor over
an image gives me a thumbnail with all the data inc pixel size !"
He probably has the feature turned off !
--
Best Regards:
Baron. |
|
| Back to top |
|
 |
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
| |
|
|