[Gimp-user] Please ,check this image

2009-08-01 Thread photocomix
 i never noticed a similar bug, even if i used Gimp to save as copy  thousands
of jpeg, and i would never believed this possible, but i have to face
evidence

to the point image dimensions: 90x116 Size: 547KB

And what is really weird is that seems impossible , re-saving from gimp  as
jpg reduce the file size...even at quality 1 ( !!) i can't shrink it 

is not a Windows only bug...i check with Ubuntu, problem remain

here the image

[img]http://irnbru001.com/files/lightbulb.jpg[/img]

and here more info (scroll down for most relevant messages)
http://www.gimptalk.com/forum/saving-jpgs-for-the-web--t42611.html

Help that user is beyond my skill, i hope somebody here may if not solve,
explain what happened and why





-- 
photocomix (via www.gimpusers.com)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Please ,check this image

2009-08-01 Thread Martin Nordholts
On 08/01/2009 01:05 PM, photocomix wrote:
   i never noticed a similar bug, even if i used Gimp to save as copy  
 thousands
 of jpeg, and i would never believed this possible, but i have to face
 evidence

 to the point image dimensions: 90x116 Size: 547KB

 And what is really weird is that seems impossible , re-saving from gimp  as
 jpg reduce the file size...even at quality 1 ( !!) i can't shrink it

The JPEG has an embedded ICC color profile which GIMP ignores since it's 
a CMYK profile, but it keeps it around anyway and writes it to the JPEG 
if you resave it.

To see the size of the attached color profile, first extract it:

   $ exiftool -icc_profile -b -w icc lightbulb.jpg

Then look at how big it (and the image) is:

   $ du -hb lightbulb.*

which gives the output

   557168  lightbulb.icc
   560484  lightbulb.jpg

/ Martin
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Please ,check this image

2009-08-01 Thread Jay Smith
On 08/01/2009 08:37 AM, Martin Nordholts wrote:
 On 08/01/2009 01:05 PM, photocomix wrote:
   i never noticed a similar bug, even if i used Gimp to save as copy  
 thousands
 of jpeg, and i would never believed this possible, but i have to face
 evidence

 to the point image dimensions: 90x116 Size: 547KB

 And what is really weird is that seems impossible , re-saving from gimp  as
 jpg reduce the file size...even at quality 1 ( !!) i can't shrink it
 
 The JPEG has an embedded ICC color profile which GIMP ignores since it's 
 a CMYK profile, but it keeps it around anyway and writes it to the JPEG 
 if you resave it.
 
 To see the size of the attached color profile, first extract it:
 
$ exiftool -icc_profile -b -w icc lightbulb.jpg
 
 Then look at how big it (and the image) is:
 
$ du -hb lightbulb.*
 
 which gives the output
 
557168  lightbulb.icc
560484  lightbulb.jpg
 
 / Martin

Martin,

Very enlightening.

In normal use of the program, how would the user known that there was
such an embedded ICC color profile and thus to use the technique you
outlined?   Or is this just one of those you have to know kind of
situations?

Jay
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Please ,check this image

2009-08-01 Thread David Gowers
On Sun, Aug 2, 2009 at 12:23 AM, Jay Smith j...@jaysmith.com wrote:

 On 08/01/2009 08:37 AM, Martin Nordholts wrote:
  On 08/01/2009 01:05 PM, photocomix wrote:
i never noticed a similar bug, even if i used Gimp to save as copy
  thousands
  of jpeg, and i would never believed this possible, but i have to face
  evidence
 
  to the point image dimensions: 90x116 Size: 547KB
 
  And what is really weird is that seems impossible , re-saving from gimp
  as
  jpg reduce the file size...even at quality 1 ( !!) i can't shrink it
 
  The JPEG has an embedded ICC color profile which GIMP ignores since it's
  a CMYK profile, but it keeps it around anyway and writes it to the JPEG
  if you resave it.
 
  To see the size of the attached color profile, first extract it:
 
 $ exiftool -icc_profile -b -w icc lightbulb.jpg
 
  Then look at how big it (and the image) is:
 
 $ du -hb lightbulb.*
 
  which gives the output
 
 557168  lightbulb.icc
 560484  lightbulb.jpg
 
  / Martin

 Martin,

 Very enlightening.

 In normal use of the program, how would the user known that there was
 such an embedded ICC color profile and thus to use the technique you
 outlined?


Alt+Enter (Image Properties) shows whether there is an ICC profile attached
(and what it describes itself as).
Perhaps it should also mention the size of the profile

David
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] GTK make problem

2009-08-01 Thread julien
Hi,

I am trying to install gtk+-2.16.5 from sources under openSuse-11.0,
(before installing unstable GIMP for UI translation).
Configure gives no error message.
Running make gives this error:

make[3]: going into directory « /home/.../telechar/gtk+-2.16.5/gtk »
/bin/sh ../libtool --mode=link gcc -DGDK_PIXBUF_DISABLE_DEPRECATED -g
-O2 -Wall -o gtk-query-immodules-2.0 queryimmodules.o libgtk-x11-2.0.la
../gdk-pixbuf/libgdk_pixbuf-2.0.la ../gdk/libgdk-x11-2.0.la
libtool: link: gcc -DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall -o
.libs/gtk-query-immodules-2.0 queryimmodules.o ./.libs/libgtk-x11-2.0.so
-L/usr/local/lib
/home/.../telechar/gtk+-2.16.5/gdk/.libs/libgdk-x11-2.0.so
/usr/lib/libatk-1.0.so /usr/lib/libgobject-2.0.so
/usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so -lpcre -lpangoft2-1.0
../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so ../gdk/.libs/libgdk-x11-2.0.so
-lpangocairo-1.0 -lpango-1.0 /usr/lib/libXinerama.so
/usr/lib/libXcursor.so /usr/lib/libXcomposite.so /usr/lib/libXext.so
/usr/lib/libXdamage.so /usr/lib/libXfixes.so /usr/lib/libcairo.so
/usr/lib/libfontconfig.so /usr/lib/libfreetype.so -lexpat
/usr/lib/libglitz.so /usr/lib/libpng12.so -lz
/usr/lib/libxcb-render-util.so /usr/lib/libxcb-render.so
/usr/lib/libXrender.so /usr/lib/libpixman-1.so /usr/lib/libX11.so
/usr/lib/libxcb-xlib.so /usr/lib/libxcb.so -lXau
/home/.../telechar/gtk+-2.16.5/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so
/usr/local/lib/libgio-2.0.so /usr/local/lib/libgobject-2.0.so
/usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so -lm
./.libs/libgtk-x11-2.0.so: undefined reference to
`g_signal_chain_from_overridden_handler'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_poll'
./.libs/libgtk-x11-2.0.so: undefined reference to
`g_signal_override_class_handler'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_dpgettext2'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_set_error_literal'
./.libs/libgtk-x11-2.0.so: undefined reference to
`g_signal_new_class_handler'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_dgettext'
collect2: ld returned 1 exit status
make[3]: *** [gtk-query-immodules-2.0] Error 1

I can't find how to resolve this problem.
I'd be grateful for any help.


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] GTK make problem

2009-08-01 Thread Martin Nordholts
On 08/01/2009 08:44 PM, julien wrote:
 Hi,

 I am trying to install gtk+-2.16.5 from sources under openSuse-11.0,
 (before installing unstable GIMP for UI translation).
 Configure gives no error message.
 Running make gives this error:
 
 /usr/local/lib/libgio-2.0.so: undefined reference to `g_poll'

 I can't find how to resolve this problem.
 I'd be grateful for any help.

Looks like you're not linking against the proper GLib library, make sure 
to setup PKG_CONFIG_PATH and LD_LIBRARY_PATH at configure time so that 
the right dependencies are found preferably through the use of config.site.

  / Martin
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] Please ,check this image

2009-08-01 Thread photocomix

  To see the size of the attached color profile, first extract it:
 
 $ exiftool -icc_profile -b -w icc lightbulb.jpg
 
  Then look at how big it (and the image) is:
 
 $ du -hb lightbulb.*
 
  which gives the output
 
 557168  lightbulb.icc
 560484  lightbulb.jpg
 
  / Martin

Alt+Enter (Image Properties) shows whether there is an ICC profile attached
(and what it describes itself as).
Perhaps it should also mention the size of the profile

David

@Martin 

Thank a lot to solve the mistery

@ David
Perhaps it should also mention the size of the profile
will be nice,as will be useful a option  a option to discard it.(as Exif data
that occupy much less space may be discarded)..i mean a option from the Save
(or if you prefer the term Export)dialog

Or  similar issues are too rare to require changes ?



-- 
photocomix (via www.gimpusers.com)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Please ,check this image

2009-08-01 Thread Martin Nordholts
On 08/01/2009 09:11 PM, photocomix wrote:
 @ David
 Perhaps it should also mention the size of the profile
 will be nice,as will be useful a option  a option to discard it.(as Exif data
 that occupy much less space may be discarded)..i mean a option from the Save
 (or if you prefer the term Export)dialog

 Or  similar issues are too rare to require changes ?

To me, keeping the CMYK profile around and writing it to an RGB jpeg 
does not make sense; I don't think GIMP does the right thing here. 
Showing the size of the color profile would be informative, but only a 
workaround to the problem we're seeing here.

I don't want to spend time to patch things here and there with regards 
to color management though. We need a specification on how color 
profiles should be managed on a bigger scale, otherwise we'll end up 
with an inconsistent program.

  / Martin
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Please ,check this image

2009-08-01 Thread Owen
On Sat,  1 Aug 2009 21:11:51 +0200 (CEST)
photocomix for...@gimpusers.com wrote:

 
   To see the size of the attached color profile, first extract it:
  
  $ exiftool -icc_profile -b -w icc lightbulb.jpg
  
   Then look at how big it (and the image) is:
  
  $ du -hb lightbulb.*
  
   which gives the output
  
  557168  lightbulb.icc
  560484  lightbulb.jpg
  
   / Martin
 
 Alt+Enter (Image Properties) shows whether there is an ICC profile
 attached (and what it describes itself as).
 Perhaps it should also mention the size of the profile
 
 David
 
 @Martin 
 
 Thank a lot to solve the mistery
 
 @ David
 Perhaps it should also mention the size of the profile
 will be nice,as will be useful a option  a option to discard it.(as
 Exif data that occupy much less space may be discarded)..i mean a
 option from the Save (or if you prefer the term Export)dialog
 
 Or  similar issues are too rare to require changes ?




You probably already know, but if you Copy and Paste as New Image, you
will get rid of the icc stuff

o...@owen-desktop:~/images$ du -hb lightbulb*
3103lightbulb1.jpg   -Copy and pasted image
557168  lightbulb.icc
560484  lightbulb.jpg

Owen
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user