Displaying 20 results from an estimated 550 matches for "pixmap".
Did you mean:
fixmap
2008 May 23
1
seeing an S4 method, not using it
...w if this is a bug, or a mistake of mine. Normally, I think the
package in which the appropriate method is defined is loaded
automatically when calling the method. The problem is that if the
package is indeed loaded automatically, the appropriate method is not used.
An example using the package pixmap (but I obtained similar results with
S4 objects from adegenet and phylobase packages):
##### in one R session
> library(pixmap)
> foo <- new("pixmap")
## here the object is printed with the appropriate show method.
> foo
Pixmap image
Type : pixmap
Size : 0x0
Resolution :...
2019 Oct 13
0
[PATCH xf86-video-nouveau] dri2, present: move in pixmap before getting addresses
First of all, we were not forcing the pixmap to be moved in before
attempting to present it. Secondly, in certain configurations, we avoid
ever backing pixmaps with vram (in GPUs with 32MB of VRAM or less).
This fixes the observed cases where we ended up assuming that a bo was
backing a pixmap without doing the explicit move-in.
Signed-off-...
2009 May 18
1
S4 method dispatch and namespaces: why is default method selected
Hi,
I ran into the following peculiarity involving S4 method dispatch and
namespaces.
I develop a package which have a namespace and which depends on 'pixmap'
package, which itself does not have a namespace.
Now, in my package I have a class which has a slot for objects from
class "pixmap" and I
want to have a "plot" method for this new class. Not to clutter the point with
my original code here is a stylized example:
# library...
2005 Aug 04
3
how to read individual values from a pixmap object
Hi All,
I have a greyscale image that I am reading in through RGDAL and placing in a
pixmap object.
As an example use the logo.jpg file that comes with the RGDAL package:
#Read the file
logo <- system.file("pictures/logo.jpg", package="rgdal")[1]
x <- new("GDALReadOnlyDataset", logo)
#Create the pixmap object
xGrey <- getPixmapGDAL(x)
Now I w...
2003 Sep 18
2
Place a graphic into an R-plot
I have a graphic image in a file (say a *.jpeg or *.png file) and want to
put it into a plot. I have segmented the plot area by means of the layout
function and successfully plotted my data in the appropriate segments. I
cannot find how to put my graphic image onto the same plot. Searching the
archives has shed little light on my challenge.
Many thanks in anticipation.
Gordon
> version
2003 Sep 26
2
overlay two pixmap
Hi
I need to overlay two pixmaps (library (pixmap)). One, a pixmapGrey, is
the basis, and on this I need to overlay a pixmapIndexed, BUT: the
pixmapIndexed has set only some of its "pixels" to an indexed color,
many of its pixels should not cover the basis pixmapGrey pixel, means,
for this "in pixmapIndexed not def...
2005 Feb 23
1
Package pixmap breaks try() under circumstances
Dear R users,
in some circumstances, try() shows a strange behaviour,
when the pixmap package is loaded.
The following piece of code works as expected, if it is
either sourced in an interactive session or invoked via
R CMD BATCH (the try-error is printed).
However, if i invoke R using ``R --vanilla < source.R'',
the execution halts (without printing the try-error).
# s...
2004 Aug 25
1
Pixmap problem
Hi,
I'm having trouble writing .pnm images which I think is due to a problem
with my colour space. The pixmap object seems to be looking for 72 of 8
colours (one per cell?) which doesn't seem healthy...
> library(pixmap)
> x <- pixmapIndexed(rep(1:8, 9), nrow=6, col=rainbow(8))
> x
Pixmap image
Type : pixmapIndexed
Size : 6x12
Resolution : 1x1
Bounding box...
2002 Sep 19
1
install.packages() together with pixmap package (PR#2042)
Full_Name: Wolfgang Huber
Version: 1.5.1
OS: Windoof 2000
Submission from: (NULL) (193.174.62.11)
Hi,
Trying to install the binary distribution (zip file) for the "pixmap" package,
as downloaded today from CRAN, I get the following warning "error -1". The
package will not be installed.
Installation of other packages (e.g. pinktoe, acepack) worked fine. The warning
or error seems to be thrown by .Internal(int.unzip).
I also tried with an external unz...
2014 Jul 04
1
DESCRIPTION.in file causes R CMD check to fail?
...s and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# DESCRIPTION
# DESCRIPTION.in
#
echo x - DESCRIPTION
sed 's/^X//' >DESCRIPTION << 'END-of-DESCRIPTION'
XPackage: image2k
XType: Package
XTitle: interface between pixmap and Imlib2 and/or MagickWand
XVersion: 0.1
XDate: 2014-06-24
XAuthor: Greg Minshall
XMaintainer: Greg Minshall <minshall at acm.org>
XDescription: image2k creates pixmaps from any image file that is
X supported by the Imlib2 and/or MagickWand libraries (assuming one or
X both of these libra...
2001 Sep 06
1
RFC: package pixmap
There is a new package pixmap in $CRAN/src/contrib/Devel which
provides a first shot at a class hierarchy for bitmapped images (as
both bitmap and image are already taken I named it pixmap ... if
somebody has an idea for a better name, please let me know).
This is by no means meant to be final ... more like a basis for
discuss...
2017 Apr 18
3
[PATCH xserver] Make PixmapDirtyUpdateRec::src a DrawablePtr
From: Michel Dänzer <michel.daenzer at amd.com>
This allows making the master screen's pixmap_dirty_list entries
explicitly reflect that we're now tracking the root window instead of
the screen pixmap, in order to allow Present page flipping on master
outputs while there are active slave outputs.
Define HAS_DIRTYTRACKING_DRAWABLE_SRC for drivers to check, but leave
HAS_DIRTYTRACKING_RO...
2006 Mar 09
1
count pixels of same color in pixmap object?
Dear all,
I try to figure out how to use R to count the number of pixels of the
same color in some gray-level picture. I managed to read it in either
tiff or jpeg format, but the returned pixmap object keeps its
information out of (my) reach. Is there an easy way to tabulate the
different color/graylevel pixels and their numbers? Or should I use a
completely different (free) software?
Thanks for any hint, Christian.
--
***********************************************************
http:/...
2018 Feb 04
1
[PATCH 1/2] dri3: remove bogus condition for creating pixmap
...-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/nouveau_dri2.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
index cbb7b2a..ac0ca09 100644
--- a/src/nouveau_dri2.c
+++ b/src/nouveau_dri2.c
@@ -1076,13 +1076,16 @@ static PixmapPtr nouveau_dri3_pixmap_from_fd(ScreenPtr screen, int fd, CARD16 wi
struct nouveau_bo *bo = NULL;
struct nouveau_pixmap *nvpix;
- if (depth < 8 || depth > 32 || depth % 8)
+ if (depth < 8 || depth > 32)
return NULL;
pixmap = screen->CreatePixmap(screen, 0, 0, depth, 0);...
2003 Sep 02
2
identify with image
...boon)
list()
- attr(*, "size")= int [1:2] 512 512
- attr(*, "cellres")= num [1:2] 1 1
- attr(*, "bbox")= num [1:4] 0 0 512 512
- attr(*, "channels")= chr "grey"
- attr(*, "bbcent")= logi FALSE
- attr(*, "class")= chr "pixmapGrey"
- attr(*, "grey")= num [1:512, 1:512] 0.537 0.510 0.345 0.259 0.322
...
> class(baboon)
[1] "pixmapGrey"
> library(pixmap)
> plot(baboon)
> identify(baboon, n=1)
... and then R bombs!
What to do?
Kjetil Halvorsen
2008 Feb 03
9
[Bug 14345] New: Image with width greater than 8176 pixel make firefox crash with X error
...ace from your debugger if you break on the gdk_x_error() function.)
Konqueror doesn't crash but doesn't display the image and print :
X Error: BadAlloc (insufficient resources for operation) 11
Major opcode: 53
Minor opcode: 0
Resource id: 0x26003c3
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 72
Minor opcode: 0
Resource id: 0x26003c3
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 72
Minor opcode: 0
Resource id: 0x26003c3
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 72
Mino...
2007 Mar 05
1
compiz composited video and alpha only GLX pixmaps
I've added a simple plugin to compiz that provides a way to render video
efficiently on a composited desktop.
A video playback client basically copies video data to a pixmap and sets
an X property on a client window that describes the image format of the
data and where it should be rendered.
The compiz video plugin will scale and perform necessary colorspace
conversions when compositing the desktop.
It provides very efficient playback of video on a composited desktop...
2003 Sep 30
2
using identify() together with plot () and pixmap()
Dear R users
I have a two-dimensional array, whose values I want to plot, using the
pixmapGrey class. Plotting works fine, and now I would like to be able
to identify some of the points in the plot using identify(). But I get
the following message while pressing the left mouse button:
> plot(pixmapGrey(fmri.vtc[,,slice,volume]))
> identify(fmri.vtc[,,slice,volume])
warning: no poi...
2007 Jan 01
2
Get pixmap of minimized windows?
Is it possible to get pixmaps of minimized windows?
I don't want to use ugly hacks like "temp unminimize" just to get it.
Stjepan
2003 Sep 03
0
identify() seg.faults (PR#4057)
...:2] 512 512
> > - attr(*, "cellres")= num [1:2] 1 1
> > - attr(*, "bbox")= num [1:4] 0 0 512 512
> > - attr(*, "channels")= chr "grey"
> > - attr(*, "bbcent")= logi FALSE
> > - attr(*, "class")= chr "pixmapGrey"
> > - attr(*, "grey")= num [1:512, 1:512] 0.537 0.510 0.345 0.259 0.322
> > ...
> > > class(baboon)
> > [1] "pixmapGrey"
> > > library(pixmap)
> > > plot(baboon)
> > > identify(baboon, n=1)
> >
> > .....