search for: pixmaps

Displaying 20 results from an estimated 550 matches for "pixmaps".

2008 May 23
1
seeing an S4 method, not using it
Dear list, here is a problem I met when trying to use a method for an S4 object, without loading the package in which the method was defined. I do not know 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
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-by: Ilia Mirkin <imirkin at alum.mit.edu> --- This fixes some crashes on a NV5 with 32MB VRAM + xfwm4 --vbla...
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
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 would
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 defi...
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). # source.R
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
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
2014 Jul 04
1
DESCRIPTION.in file causes R CMD check to fail?
.../^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 libraries are available on your machine). similarly, X given a pixmap, image2k can write that to an image file using either X Imlib2 and/or MagickWand. (MagickWand is an optional...
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 discussion about classes for that purpose. It already has RGB, indexed and
2017 Apr 18
3
[PATCH xserver] Make PixmapDirtyUpdateRec::src a DrawablePtr
...| 24 +++++++++++------------- hw/xfree86/drivers/modesetting/driver.c | 10 +++++----- hw/xfree86/drivers/modesetting/drmmode_display.c | 5 +++-- hw/xfree86/drivers/modesetting/drmmode_display.h | 2 +- include/pixmap.h | 5 +++-- include/pixmapstr.h | 3 ++- include/scrnintstr.h | 6 +++--- randr/randrstr.h | 2 +- randr/rrcrtc.c | 20 +++++++++----------- 9 files changed, 38 insertions(+), 39 deletions(-) diff --g...
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?
2018 Feb 04
1
[PATCH 1/2] dri3: remove bogus condition for creating pixmap
Not clear what the depth % 8 was trying to protect against, but it was breaking 30bpp visuals with DRI3. Add it in to ensure that bitsPerPixel % 8 is 0, since there is plenty of bpp/8 math in the driver. Signed-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
2003 Sep 02
2
identify with image
Hola! I will want to identify pixels in an image with the mouse, for so getting the image data from the matrix(es), for use in subsequent discriminant analysis. But the following bombs R: (windows XP, rw1071) > str(baboon) 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(*,
2008 Feb 03
9
[Bug 14345] New: Image with width greater than 8176 pixel make firefox crash with X error
http://bugs.freedesktop.org/show_bug.cgi?id=14345 Summary: Image with width greater than 8176 pixel make firefox crash with X error Product: xorg Version: 7.2 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo:
2007 Mar 05
1
compiz composited video and alpha only GLX pixmaps
...hence also no accelerated offscreen rendering. RGB and YV12 image formats are currently supported but it's of course very easy to add support for additional formats. YV12 format requires GL_ARB_fragment_program and 8 bpp alpha only GLX pixmap support. The server doesn't provide alpha only pixmaps today. The attached patch adds an alternative PICT_a8 visual to composite and that is enough for xgl to support alpha only GLX pixmaps (not sure it will work with aiglx or nvidia's driver, I would guess not). Adding an alpha only X visual might be a bad idea. It doesn't cause any issues wi...
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 point with
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)
Full_Name: Roger Bivand Version: 1.7.1 OS: i686-pc-linux-gnu Submission from: (NULL) (129.177.30.18) identify() seg.faults when x is an empty list, when the n argument is given a positive value, avoiding the check for non-positive n (n <- length(x) when x is the non-existent x component of the empty list, and when neither x nor y are components of the list. suggested resolution: add test in