#7344: New libjpeg package
---------------------------+------------------------------------------------
   Reporter:  timdumol     |       Owner:  mabshoff    
       Type:  enhancement  |      Status:  needs_review
   Priority:  major        |   Milestone:              
  Component:  packages     |    Keywords:              
     Author:  Tim Dumol    |    Upstream:  N/A         
   Reviewer:               |      Merged:              
Work_issues:               |  
---------------------------+------------------------------------------------
Changes (by timdumol):

 * cc: kcrisman (added)
  * status:  needs_work => needs_review


Old description:

> This is used by PIL (c.f. #7273). Inclusion as an optional or even as a
> standard package would be helpful.
>
> The latest version of the package is here:
> http://sage.math.washington.edu/home/timdumol/libjpeg-7.p1.spkg

New description:

 This is used by PIL (c.f. #7273). Inclusion as an optional or even as a
 standard package would be helpful.

 The latest version of the package is here:
 http://sage.math.washington.edu/home/timdumol/libjpeg-7.p2.spkg

--

Comment:

 New package version here:
 http://sage.math.washington.edu/home/timdumol/libjpeg-7.p2.spkg

 As stated in #7818, some makefiles depend on $RM being unset or set to "rm
 -f". The above code overrides any $RM setting, which otherwise causes
 compilation failure (at least for me).

 I am unsure of the GPL compatibility of libjpeg's licensing, but this
 message on: http://www.mail-archive.com/mozilla-
 [email protected]/msg00143.html seems to suggest that it is widely
 considered GPL compatible. Otherwise, we may want to consider libjpeg-
 turbo (http://sourceforge.net/projects/libjpeg-turbo/) and patch PIL to
 use that.

 Regarding review of this package:

 The package may be reviewed by using the PIL package, as above:

 {{{
 sage: import Image
 sage: im = Image.open("<your-jpeg-file-here>")
 sage: im.resize((im.size[0]/2,im.size[1]/2))
 sage: print im.format, im.size, im.mode
 TIFF (455, 495) 1
 sage: im.show()
 sage: im.save("wherever.jpg")
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7344#comment:13>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to