would like to precompress photos before uploading onto picasa

107 views
Skip to first unread message

kitandkaboodle

unread,
Aug 6, 2011, 1:20:37 AM8/6/11
to Google-Labs-Picasa-for-Linux
When uploading to picasa from my camera, I have a long list of jpgs,
some big (2 or 3 MB), and some small. I'd like them all to be a fairly
small byte-size before uploading to picasa.
It doesn't seem like picasa-linux has a precompressing option, so I'm
wondering if there's some sort of software or shell program to
compress jpgs in a certain folder or of a certain range of filenames
each into a maximum size.
Alternatively, wondering if there's any workaround for this within
picasa-linux.

Patrick Shanahan

unread,
Aug 6, 2011, 10:04:56 PM8/6/11
to google-labs-pi...@googlegroups.com
* kitandkaboodle <dcc...@gmail.com> [08-06-11 21:11]:

> When uploading to picasa from my camera, I have a long list of jpgs,
> some big (2 or 3 MB), and some small. I'd like them all to be a fairly
> small byte-size before uploading to picasa.

then you need to use something such as ImageMagick to reduce the size of
the images. Jpeg images are already "compressed" within your camera, ie:
jpeg images *are* compressed images.

Warning, you *will* loose detail by reducing the size of your jpeg images.

> It doesn't seem like picasa-linux has a precompressing option, so I'm
> wondering if there's some sort of software or shell program to
> compress jpgs in a certain folder or of a certain range of filenames
> each into a maximum size.

I wondering if perhaps there is some mis-understanding here as I have not
heard of a *precompressing* option in any linux photo app.

> Alternatively, wondering if there's any workaround for this within
> picasa-linux.

ImageMagick can reduce the *size* of your images, re warning above.

Also, "picasa-linux" is a mis-nomer. There is *no* linux based picasa,
but only a windows executable that is runable under/via wine. Never has
been and afaict never will be.

--
(paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711
http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org openSUSE Community Member
Registered Linux User #207535 @ http://counter.li.org

Stephen

unread,
Aug 7, 2011, 12:51:15 AM8/7/11
to google-labs-pi...@googlegroups.com
JPEGs are already compressed. You'd have to resave them losing quality doing so to a greater lossy compression.


--
You received this message because you are subscribed to the Google Groups "Google-Labs-Picasa-for-Linux" group.
To post to this group, send email to google-labs-pi...@googlegroups.com.
To unsubscribe from this group, send email to google-labs-picasa-f...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-labs-picasa-for-linux?hl=en.




--


The Real Bev

unread,
Aug 7, 2011, 2:43:47 AM8/7/11
to google-labs-pi...@googlegroups.com
On 08/05/11 22:20, kitandkaboodle wrote:

> When uploading to picasa from my camera, I have a long list of jpgs,
> some big (2 or 3 MB), and some small. I'd like them all to be a fairly
> small byte-size before uploading to picasa.

Use the 'export' function into a different subdirectory, specifying the
size you want. Then switch to that subdirectory and upload to picasaweb
from there.

I keep a copy of my originals in a /canon/original/ subdirectory, edit
the originals (in /canon/new/), export them to /new/ and upload to
pisasaweb from there. I move the edited ones to /canon/good/ and throw
away the stuff in /canon/new.

My original files are generally 1-3 MB and the edited versions (I chose
to export them with the '1600' setting at quality=65) are 100-250 KB
each.

> It doesn't seem like picasa-linux has a precompressing option, so I'm
> wondering if there's some sort of software or shell program to
> compress jpgs in a certain folder or of a certain range of filenames
> each into a maximum size.
> Alternatively, wondering if there's any workaround for this within
> picasa-linux.

There may be a batch function in picasa, but I've never looked -- I edit
each one individually.

--
Cheers, Bev
1010101010101010101010101010101010101
What do you think you're doing, Dave?
-- Hal 9000

Garthhh

unread,
Aug 7, 2011, 9:07:21 AM8/7/11
to google-labs-pi...@googlegroups.com
you can probably turn down file size on the camera, cropping also reduces the size of the file

or do what Bev says

Dan Christensen

unread,
Aug 7, 2011, 1:40:35 PM8/7/11
to google-labs-pi...@googlegroups.com
kitandkaboodle <dcc...@gmail.com> writes:

> When uploading to picasa from my camera, I have a long list of jpgs,
> some big (2 or 3 MB), and some small. I'd like them all to be a fairly
> small byte-size before uploading to picasa.

In picasa, under Tools -> Upload -> Upload to Picasa Web Albums
you have the choice of uploading Original Size, <= 1600 pixels,
<= 1024 pixels, and <= 600 pixels. Choosing one of the last
two options should do exactly what you want.

Dan

Jack Marxer

unread,
Aug 7, 2011, 4:58:54 AM8/7/11
to google-labs-pi...@googlegroups.com
In Picasa, Tools, Options, WebAlbums you can choose the default size for web album photos. Maybe that is enough for your needs.

Jack

kitandkaboodle

unread,
Aug 9, 2011, 2:25:56 AM8/9/11
to Google-Labs-Picasa-for-Linux
The picasa that I just installed for ubuntu doesn't have any "tools"
menu that I can find. It's different from the picasa that I used
before on mac.

kitandkaboodle

unread,
Aug 9, 2011, 2:41:54 AM8/9/11
to Google-Labs-Picasa-for-Linux
Hi Patrick--
Imagemagick is a good tip, and I've just been looking into it, but it
is a bit daunting since I've not much experience in command-line.
If I wanted to convert all the jpgs in a given folder to a file size
of say maximum (or exactly) 200kb, do you know what command I could
type? Or is there another way to dramatically cut filesize for all of
them in a given folder?
(If a command for a whole folder doesn't work, then the jpgs do have
names in numerical order, like p100161.jpg for example.)
--Doug
> (paka)Patrick Shanahan       Plainfield, Indiana, USA      HOG # US1244711http://wahoo.no-ip.org       Photo Album:http://wahoo.no-ip.org/gallery2http://en.opensuse.org                          openSUSE Community Member

Garthhh

unread,
Aug 9, 2011, 7:42:21 AM8/9/11
to google-labs-pi...@googlegroups.com
try folder>export as HTML page

You can install Gimp from the Ubuntu software manager
which will give you as much editing power as you can stand
install
that would be overkill, but there will be a gui


Dan Christensen

unread,
Aug 9, 2011, 9:46:04 AM8/9/11
to google-labs-pi...@googlegroups.com
kitandkaboodle <dcc...@gmail.com> writes:

> The picasa that I just installed for ubuntu doesn't have any "tools"
> menu that I can find. It's different from the picasa that I used
> before on mac.

What version are you using? I've used several versions, and I believe
they all had the ability to choose the size of the uploaded images.
Try searching through the menus for this and checking various buttons
related to syncing.

Dan

Patrick Shanahan

unread,
Aug 9, 2011, 10:29:44 AM8/9/11
to google-labs-pi...@googlegroups.com
* kitandkaboodle <dcc...@gmail.com> [08-09-11 02:42]:

> Imagemagick is a good tip, and I've just been looking into it, but it
> is a bit daunting since I've not much experience in command-line.
> If I wanted to convert all the jpgs in a given folder to a file size
> of say maximum (or exactly) 200kb, do you know what command I could
> type? Or is there another way to dramatically cut filesize for all of
> them in a given folder?

> (If a command for a whole folder doesn't work, then the jpgs do have
> names in numerical order, like p100161.jpg for example.)

cd into the subject directory

for i in *.jpg;
do convert -resize 1024x768 $i new.$i;
done

file p100161.jpg will be output as
new.p100161.jpg
at 1024x768


--

(paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711
http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2

Patrick Shanahan

unread,
Aug 9, 2011, 10:30:45 AM8/9/11
to google-labs-pi...@googlegroups.com
* Patrick Shanahan <ptilo...@gmail.com> [08-09-11 10:30]:

> * kitandkaboodle <dcc...@gmail.com> [08-09-11 02:42]:
> > Imagemagick is a good tip, and I've just been looking into it, but it
> > is a bit daunting since I've not much experience in command-line.
> > If I wanted to convert all the jpgs in a given folder to a file size
> > of say maximum (or exactly) 200kb, do you know what command I could
> > type? Or is there another way to dramatically cut filesize for all of
> > them in a given folder?
>
> > (If a command for a whole folder doesn't work, then the jpgs do have
> > names in numerical order, like p100161.jpg for example.)
>
> cd into the subject directory
>
> for i in *.jpg;
> do convert -resize 1024x768 $i new.$i;
> done
>
> file p100161.jpg will be output as
> new.p100161.jpg
> at 1024x768

WARNING: will convert ALL *.jpg files in the current directory

Patrick Shanahan

unread,
Aug 9, 2011, 10:41:38 AM8/9/11
to google-labs-pi...@googlegroups.com
* Patrick Shanahan <ptilo...@gmail.com> [08-09-11 10:32]:

> * Patrick Shanahan <ptilo...@gmail.com> [08-09-11 10:30]:
> > * kitandkaboodle <dcc...@gmail.com> [08-09-11 02:42]:
> > > Imagemagick is a good tip, and I've just been looking into it, but it
> > > is a bit daunting since I've not much experience in command-line.
> > > If I wanted to convert all the jpgs in a given folder to a file size
> > > of say maximum (or exactly) 200kb, do you know what command I could
> > > type? Or is there another way to dramatically cut filesize for all of
> > > them in a given folder?
> >
> > > (If a command for a whole folder doesn't work, then the jpgs do have
> > > names in numerical order, like p100161.jpg for example.)
> >
> > cd into the subject directory
> >
> > for i in *.jpg;
> > do convert -resize 1024x768 $i new.$i;
> > done
> >
> > file p100161.jpg will be output as
> > new.p100161.jpg
> > at 1024x768
>
> WARNING: will convert ALL *.jpg files in the current directory

And, after further *close* attention to your request, I don't know how to
resize to a particular space-on-disk as 200kb, only by dimention at a
particular pixel screen resolution. There are many more parameters
available to "stack" onto the example above that will further define the
output image.

Patrick Shanahan

unread,
Aug 9, 2011, 10:43:58 AM8/9/11
to google-labs-pi...@googlegroups.com
* Patrick Shanahan <ptilo...@gmail.com> [08-09-11 10:43]:

> > >
> > > cd into the subject directory
> > >
> > > for i in *.jpg;
> > > do convert -resize 1024x768 $i new.$i;
> > > done
> > >
> > > file p100161.jpg will be output as
> > > new.p100161.jpg
> > > at 1024x768
> >
> > WARNING: will convert ALL *.jpg files in the current directory
>
> And, after further *close* attention to your request, I don't know how to
> resize to a particular space-on-disk as 200kb, only by dimention at a
> particular pixel screen resolution. There are many more parameters
> available to "stack" onto the example above that will further define the
> output image.

see: http://www.imagemagick.org/Usage/resize/

kitandkaboodle

unread,
Aug 9, 2011, 2:34:17 AM8/9/11
to Google-Labs-Picasa-for-Linux
Hi Bev--
Thanks. It sounds like a good routine, but are you referring to
'export' in picasa or as part of file management in linux/ubuntu (a la
a left click)? The picasa I just installed for linux/ubuntu can't
specify file size (unlike version I used on mac before). My linux
setup allows me to select files and 'copy to' other folders with a
left click but without any resizing options. As for my camera files,
they just appear as another folder with the pics in them. So I'm not
sure what 'export' you're referring to.

Wade Hampton

unread,
Aug 9, 2011, 7:46:52 AM8/9/11
to google-labs-pi...@googlegroups.com

You can also use ImageMagick from the command line. You
can setup a very simple script to resize all the pictures in
a directory or do a lot of other image manipulation. Works GREAT
when processing one or hundreds or thousands of images.

"ImageMagick®, is a software suite to create, edit, and compose bitmap
images. It can read, convert and write images in a variety of formats
(about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF,
and DPX. Use ImageMagick to translate, flip, mirror, rotate, scale,
shear and transform images, adjust image colors, apply various special
effects, or draw text, lines, polygons, ellipses and B\['e]zier curves."
--
Wade Hampton


>
> --
> You received this message because you are subscribed to the Google Groups
> "Google-Labs-Picasa-for-Linux" group.

> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-labs-picasa-for-linux/-/1F2ewIdIgVwJ.

The Real Bev

unread,
Aug 9, 2011, 3:01:29 PM8/9/11
to google-labs-pi...@googlegroups.com
On 08/08/11 23:34, kitandkaboodle wrote:

> Hi Bev--
> Thanks. It sounds like a good routine, but are you referring to
> 'export' in picasa or as part of file management in linux/ubuntu (a la
> a left click)? The picasa I just installed for linux/ubuntu can't
> specify file size (unlike version I used on mac before).

That's very strange. I don't see how they could remove that function
unless they replace it with something else.

> My linux
> setup allows me to select files and 'copy to' other folders with a
> left click but without any resizing options. As for my camera files,
> they just appear as another folder with the pics in them. So I'm not
> sure what 'export' you're referring to.

The Picasa 'export' function. If the attached .jpg doesn't come
through, it's the thing at the bottom of the Picasa window that contains
thumbnails of the pix you're editing, a column with 'hold, delete and
<something> icons, then icons for Upload, Email, Print, Export, Collage
and Movie...

>> > When uploading to picasa from my camera, I have a long list of jpgs,
>> > some big (2 or 3 MB), and some small. I'd like them all to be a fairly
>> > small byte-size before uploading to picasa.
>>
>> Use the 'export' function into a different subdirectory, specifying the
>> size you want. Then switch to that subdirectory and upload to picasaweb
>> from there.
>>
>> I keep a copy of my originals in a /canon/original/ subdirectory, edit
>> the originals (in /canon/new/), export them to /new/ and upload to
>> pisasaweb from there. I move the edited ones to /canon/good/ and throw
>> away the stuff in /canon/new.
>>
>> My original files are generally 1-3 MB and the edited versions (I chose
>> to export them with the '1600' setting at quality=65) are 100-250 KB
>> each.
>>
>> > It doesn't seem like picasa-linux has a precompressing option, so I'm
>> > wondering if there's some sort of software or shell program to
>> > compress jpgs in a certain folder or of a certain range of filenames
>> > each into a maximum size.
>> > Alternatively, wondering if there's any workaround for this within
>> > picasa-linux.
>>
>> There may be a batch function in picasa, but I've never looked -- I edit
>> each one individually.

--
Cheers, Bev
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
It's true that Smokey the Bear deserves praise for his
campaign against forest fires, but nobody ever mentions
the boy scouts he kills for their hats.

export.jpg
Reply all
Reply to author
Forward
0 new messages