[Bug 35622] Improve XCF Thumbail

2012-09-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35622

--- Comment #9 from Marco  2012-09-23 10:55:46 UTC ---
imagemagick seems to have problems with indexed .xcf files. See this thumb:
https://upload.wikimedia.org/wikipedia/commons/thumb/archive/4/40/20120923105304!Crimea-no.xcf/120px-Crimea-no.xcf.png
(thumb of https://commons.wikimedia.org/wiki/File:Crimea-no.xcf )

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 35622] Improve XCF Thumbail

2012-06-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35622

--- Comment #8 from Sam Reed (reedy)  2012-06-13 11:32:10 
UTC ---
We look to repackage this ourselves, so I'm not sure if we'll go to the default
package..

Currently:
reedy@srv219:~$ convert --version
Version: ImageMagick 6.6.2-6 2011-03-09 Q8 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features:

http://packages.ubuntu.com/search?keywords=imagemagick&searchon=names&suite=lucid§ion=all

lucid (graphics): image manipulation programs 
7:6.5.7.8-1ubuntu1.2 [security]: amd64 i386 

http://packages.ubuntu.com/search?keywords=imagemagick&searchon=names&suite=precise§ion=all

precise (graphics): image manipulation programs 
8:6.6.9.7-5ubuntu3.1 [security]: amd64 i386

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 35622] Improve XCF Thumbail

2012-06-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35622

Sam Reed (reedy)  changed:

   What|Removed |Added

 Depends on||36623

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 35622] Improve XCF Thumbail

2012-06-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35622

--- Comment #7 from Sam Reed (reedy)  2012-06-13 11:28:54 
UTC ---
(In reply to comment #6)
> (In reply to comment #3)
> > Looks like the ImageMagick peeps have a patch!
> > w00!
> > 
> > http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=20642#p82784
> 
> Thanks. How long does it usually take until the changes get visible on 
> commons?

imagemagick needs rebuilding and pushing. Depending on when this made it into
the  ubuntu apt repositories, it may mean that with the upgrade of the image
scalers to 12.04, the benefit will come in

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 35622] Improve XCF Thumbail

2012-06-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35622

--- Comment #6 from Marco  2012-06-13 11:26:52 UTC ---
(In reply to comment #3)
> Looks like the ImageMagick peeps have a patch!
> w00!
> 
> http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=20642#p82784

Thanks. How long does it usually take until the changes get visible on commons?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 35622] Improve XCF Thumbail

2012-04-27 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35622

--- Comment #5 from Derk-Jan Hartman  2012-04-27 12:29:28 
UTC ---
"I can confirm that that specific XCF file is now 'flattening' correctly.

Just be sure that you do not set a global -compose setting before the -flatten
operation, as this will likely override individual layer image compose
settings."

Seems fixed upstream.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 35622] Improve XCF Thumbail

2012-04-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35622

Derk-Jan Hartman  changed:

   What|Removed |Added

 CC||hart...@videolan.org

--- Comment #4 from Derk-Jan Hartman  2012-04-01 17:17:02 
UTC ---
Awesome, good work on reaching out Mark !

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 35622] Improve XCF Thumbail

2012-04-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35622

--- Comment #3 from Mark A. Hershberger  2012-04-01 
16:51:53 UTC ---
Looks like the ImageMagick peeps have a patch!
w00!

http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=20642#p82784

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 35622] Improve XCF Thumbail

2012-03-31 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35622

Sam Reed (reedy)  changed:

   What|Removed |Added

   Severity|normal  |enhancement

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 35622] Improve XCF Thumbail

2012-03-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35622

--- Comment #2 from Bawolff  2012-03-31 01:22:26 UTC ---
Created attachment 10353
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=10353
short gimp script to open an xcf file, merge visible layers, resize, save as a
png

I think over the long term we should look at using gimp directly. xcf is gimps
internal format, and as such its really complicated, so its not surprising that
image magick only has cursory support for it. After all imagemagick is more
concerned with manipulating formats link png, jpg, etc that are meant for
general use.


Gimp can be used to scale images with the following command (not sure how
efficient this is. Yes I know the command line is scary)

gimp -d -i -b '( (lambda ( filename width height ) (let* ((image (car
(gimp-file-load RUN-NONINTERACTIVE filename filename))) (drawable (car
(gimp-image-get-active-layer image))) (finalfilename (string-append filename
".png")))(gimp-image-merge-visible-layers image CLIP-TO-IMAGE)(set! drawable
(car (gimp-image-get-active-layer image)))(gimp-image-scale-full image width
height INTERPOLATION-CUBIC)(gimp-file-save RUN-NONINTERACTIVE image drawable
finalfilename finalfilename)(gimp-image-delete image))) "/path/to/image.xcf"
320 240 ) (gimp-quit 0)' > /dev/null

Which would scale the /path/to/image.xcf to 320x240 pixels (The filename, width
and height come at end).

I'm attaching a scheme file version of the above command with better spacing.
Its possible to have it in a separate file and avoid the insane command line,
but i think that's probably not ideal for mediawiki's use case. Anyhow see the
docs at http://www.gimp.org/tutorials/Basic_Batch/

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 35622] Improve XCF Thumbail

2012-03-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35622

Mark A. Hershberger  changed:

   What|Removed |Added

 Depends on||17959

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 35622] Improve XCF Thumbail

2012-03-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35622

Mark A. Hershberger  changed:

   What|Removed |Added

   Keywords||upstream

--- Comment #1 from Mark A. Hershberger  2012-03-30 
20:45:56 UTC ---
http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=20642

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l