Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Compile/load problem with graphics library
- Date: Fri, 10 Aug 2018 16:39:31 +0100
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] Compile/load problem with graphics library
- References: <fe5a3e36-1068-ab9b-e233-66f92f81b522@imaginatorium.org> <32f9378d-874e-b475-e35f-fe10719cede8@gmail.com> <a3dd8cfb-f6bd-f433-c5db-4b7bb8cab604@imaginatorium.org> <615f5999-246c-3354-a8c9-d91619653070@sonic.net> <a853fc3f-53f5-3d23-e3ff-32f916dff178@imaginatorium.org>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
> I am also using various image functions directly from PHP, but this is > (simple) pixel twiddling, and I can't remember whether I couldn't find > anything to access a single pixel value directly from php,... Yes - though it appears you have to iterate through the whole image, so random access pixel setting might be a bit complex/inefficient: https://stackoverflow.com/a/17541462/841830 That sounded a bit unlikely, so I poked around and found you can grab pixels into an array, then set them back: http://php.net/manual/en/imagick.exportimagepixels.php http://php.net/manual/en/imagick.importimagepixels.php (and, of course, you could set width/height to 1 to do a single pixel). But it needs ImageMagick 6.4.5 or later. Darren
- References:
- [tlug] Compile/load problem with graphics library
- From: Brian Chandler
- Re: [tlug] Compile/load problem with graphics library
- From: Joe Foran
- Re: [tlug] Compile/load problem with graphics library
- From: Brian Chandler
- Re: [tlug] Compile/load problem with graphics library
- From: Brian Chandler
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Compile/load problem with graphics library
- Next by Date: Re: [tlug] Compile/load problem with graphics library
- Previous by thread: Re: [tlug] Compile/load problem with graphics library
- Next by thread: [tlug] Free: 1080p Project With Bad Colour
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links