<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.lisp.graphics.gd.devel">
    <title>gmane.lisp.graphics.gd.devel</title>
    <link>http://blog.gmane.org/gmane.lisp.graphics.gd.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.graphics.gd.devel/183"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.graphics.gd.devel/177"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.graphics.gd.devel/176"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.graphics.gd.devel/174"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.graphics.gd.devel/166"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.graphics.gd.devel/163"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.graphics.gd.devel/162"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.graphics.gd.devel/155"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.graphics.gd.devel/183">
    <title>FFI error (I assume)</title>
    <link>http://comments.gmane.org/gmane.lisp.graphics.gd.devel/183</link>
    <description>&lt;pre&gt;Not sure whether this is a bug, or I don't have a required library set up.
Whenever I try to do

(with-image-from file (img "/my/image/path.jpg")
    (image-size img))

I get an UNDEFINED-ALIEN-FUNCTION-ERROR

trace follows

Attempt to call an undefined alien function.
   [Condition of type SB-KERNEL::UNDEFINED-ALIEN-FUNCTION-ERROR]

Restarts:
 0: [RETRY] Retry SLIME REPL evaluation request.
 1: [*ABORT] Return to SLIME's top level.
 2: [TERMINATE-THREAD] Terminate this thread (#&amp;lt;THREAD "repl-thread" RUNNING
{10032E9BA1}&amp;gt;)

Backtrace:
  0: (SB-KERNEL::UNDEFINED-ALIEN-FUNCTION-ERROR)
  1: ("foreign function: #x422520")
  2: (GD-IMAGE-CREATE-FROM-JPEG-FILE "/my/image.path.jpg"
#&amp;lt;SB-ALIEN-INTERNALS:ALIEN-VALUE :SAP #X7FFFF37AFFF0 :TYPE (*
(SB-ALIEN:SIGNED 32))&amp;gt;)
  3: (CREATE-IMAGE-FROM-FILE #&amp;lt;unavailable argument&amp;gt; NIL)
  4: ((LAMBDA ()))
  5: (SB-INT:SIMPLE-EVAL-IN-LEXENV ..)
  6: (SWANK::EVAL-REGION "(with-image-from-file (img
\"/my/image.path.jpg\")\n   (image-size img))\n")
  7: ((LAMBDA ()))
  8: (SWANK::TR&lt;/pre&gt;</description>
    <dc:creator>Leo Zovic</dc:creator>
    <dc:date>2011-10-23T16:23:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.graphics.gd.devel/177">
    <title>CL-GD on 64-bit Lisp problem</title>
    <link>http://comments.gmane.org/gmane.lisp.graphics.gd.devel/177</link>
    <description>&lt;pre&gt;Hi,

I've been using CL-GD on 32-bit systems for years without difficulties.  
Now I'm trying to set a Lisp environment up on a fresh 64-bit Debian  
machine and I can't get CL-GD to work. When I try to load it I get this  
error:

Error opening shared object  
"/home/jcunningham/src/lisp/cl-gd-0.5.7/cl-gd-glue.so":
/home/jcunningham/src/lisp/cl-gd-0.5.7/cl-gd-glue.so: wrong ELF class:  
ELFCLASS64..

I remember their being an issue with CL-GD on 64-bit machines a couple  
years ago that involved having to use CFFI-UFFI-COMPAT instead of CFFI. I  
also vaguely remember that there was a problem at the time trying to have  
both CFFI and UFFI working, as the former used the same asd file name as  
the latter or something like that. Quite a number of other libraries I use  
depend on CFFI so I don't want to do anything that would break it. But I  
also need to get CL-GD working again if this machine is to be useful.

My gd lib is 64-bit - actually, everything I can think of is 64-bit. Is  
this still an issue? &lt;/pre&gt;</description>
    <dc:creator>Jeffrey Cunningham</dc:creator>
    <dc:date>2011-09-08T16:05:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.graphics.gd.devel/176">
    <title>My open source libraries (aka "ediware")</title>
    <link>http://comments.gmane.org/gmane.lisp.graphics.gd.devel/176</link>
    <description>&lt;pre&gt;[My apologies if you receive multiple copies of this email.]


Hi everybody!

As some of you will know, I'll start on a new job tomorrow.  This new
job won't involve much hacking, if at all, and thus it doesn't look
like I'll have a lot of time to maintain my open source libraries in
the near future.  I have no plans to suddenly disappear from the CL
world, but don't expect new releases of any of my libs any time soon.
(At least none published by me or on my server.)

Luckily, Hans Hübner - who already did most of the maintenance and
development work for Hunchentoot in the last two years or so - offered
to coordinate further development via github.  See his full
announcement at
&amp;lt;http://netzhansa.blogspot.com/2011/08/ediware-moving-to-github.html&amp;gt;.

I'll continue to read the mailing lists for my libs and I'm still
interested in fixing bugs you might find in the release tarballs
available on my web server.  However, I will likely not bother to
discuss or work on new features or compatibility code for
implemen&lt;/pre&gt;</description>
    <dc:creator>Edi Weitz</dc:creator>
    <dc:date>2011-08-31T15:11:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.graphics.gd.devel/174">
    <title>CL-GD and LispWorks 5.1: Loading images with extended characters in their pathnames?</title>
    <link>http://comments.gmane.org/gmane.lisp.graphics.gd.devel/174</link>
    <description>&lt;pre&gt;Hello,

If I have a pathnamewith extended characters in its namestring (like
curly quotes, etc), how do I get that image to load with CL-GD?

Maybe I have to go diving into UFFI or the sources for GD itself, but I
thought I'd ask here first, since it seems like this has probably come
up already.

Thanks for any assistance,

Chris



Example:  f =&amp;gt; #P"/Users/cperkins/Pictures/image file names
testing/Earth “fatter” copy.gif"

(cl-gd:create-image-from-file f)


Error: External format (:LATIN-1 :EOL-STYLE :LF) got error writing
#&amp;lt;Pointer to type (:UNSIGNED :CHAR) = #x0102B008&amp;gt; at position 55: No
encoding exists for character “.
  1 (abort) Return to level 0.
  2 Return to top loop level 0.



&lt;/pre&gt;</description>
    <dc:creator>Chris Perkins</dc:creator>
    <dc:date>2010-09-17T20:51:05</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.graphics.gd.devel/166">
    <title>Loading Images from Pointers</title>
    <link>http://comments.gmane.org/gmane.lisp.graphics.gd.devel/166</link>
    <description>&lt;pre&gt;Hello.

I have so far been using Lisp-Magick for two reasons: On the one hand,
I didnt know that GD can stretch images, on the other hand, cl-gd
doesnt support reading images from memory. Well, at least according to
[1] there is a function which can do this in libgd, but seems like
this isnt implemented in cl-gd yet. This is in fact the only thing
keeping me from using CL-GD by now. I would like to use it instead of
lisp-magick, since lisp-magick seems not to be well-maintained by now,
and I already have to use a few of my personal patches to it. Anyway,
I am not very familiar with uffi and stuff, I just tried to use
cl-gd::def-function, but didnt really suffice.

Is there any way of getting this function work with CL-GD?

Regards
Christoph Senjak

[1] http://libgd.org/ImageCreation#gdImageCreateFromPngPtr.28int_size.2C_void_.2Adata.29_.28FUNCTION.29

&lt;/pre&gt;</description>
    <dc:creator>Christoph Senjak</dc:creator>
    <dc:date>2010-05-19T02:37:31</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.graphics.gd.devel/163">
    <title>[question] change of colors when tiling an image</title>
    <link>http://comments.gmane.org/gmane.lisp.graphics.gd.devel/163</link>
    <description>&lt;pre&gt;Hello all :)

I'm using cl-gd to generate tiles of a larger image. I'm generating a set of
tiles of each, e.g. 256x256 pixels, from an input image that is much larger,
e.g. 4096x2048.

When using "debug-images" (pngs) with few colors and large areas of the same
color this works well. However, when I want to tile a png file with higher
frequencies and lots of colors the resulting tile images seem to be resampled
somehow, with a huge loss of quality.

Here is part of my code:

  (with-image-from-file (src input-name)
   (let ((width (image-width src))
         (height (image-height src)))

        ;; store a single tile
        (defun generate-tile (x y)
          "Generates a single tile. The index of which is given in x and y"
          (with-image (dest size size)
            (copy-image src dest (* x size) (* y size) 0 0 size size)
            (write-image-to-file (concatenate 'string output-base "-" (write-to-string x) "-" (write-to-string y) "." ext)
                                 :image dest :if-exist&lt;/pre&gt;</description>
    <dc:creator>colimal&lt; at &gt;mails.selgrad.org</dc:creator>
    <dc:date>2010-03-11T17:29:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.graphics.gd.devel/162">
    <title>[cl-gd-announce] New release 0.5.7 (Was: cl-gd patch)</title>
    <link>http://comments.gmane.org/gmane.lisp.graphics.gd.devel/162</link>
    <description>&lt;pre&gt;2009/11/15 Jeff Cunningham &amp;lt;j.k.cunningham&amp;lt; at &amp;gt;comcast.net&amp;gt;:


I've now uploaded release 0.5.7 which contains your patch.

Thanks,
Edi.

&lt;/pre&gt;</description>
    <dc:creator>Edi Weitz</dc:creator>
    <dc:date>2009-11-23T20:05:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.graphics.gd.devel/155">
    <title>proposed patch for WITH-TRANSFORMATION macro</title>
    <link>http://comments.gmane.org/gmane.lisp.graphics.gd.devel/155</link>
    <description>&lt;pre&gt;Hi,

I use cl-gd extensively and decided to figure out how to eliminate the 
incessant SBCL generated warnings that trace back to the 
WITH-TRANSFORMATION macro. It looks like work has already been done 
there. I came up with a pretty clean solution which removes the existing 
argument checking, provides it through a different mechanism and 
satisfies SBCL and backwards compatibility. I don't have any other 
platforms to test with but I think it will run on anything. I've 
attached the patch.

Regards,
Jeff Cunningham


&lt;/pre&gt;</description>
    <dc:creator>Jeff Cunningham</dc:creator>
    <dc:date>2009-11-09T03:58:16</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.lisp.graphics.gd.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.lisp.graphics.gd.devel</link>
  </textinput>
</rdf:RDF>

