Displaying 20 results from an estimated 5000 matches similar to: "Package pixmap breaks try() under circumstances"
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
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 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 defined pixels" it should be transparent.
What would you
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
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
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
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?
2001 Nov 20
1
trouble running pixmap examples
I am having trouble running the 'read.pnm' examples in this package.
Can anyone tell me what is wrong?
I am using the current package and running Redhat 7.2 (intel). The
other examples seem fine but I can't seem to pull in files.
[root at KENNY root]# R
R : Copyright 2001, The R Development Core Team
Version 1.3.0 (2001-06-22)
R is free software and comes with ABSOLUTELY NO
2017 Dec 31
2
[PATCH] 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.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/nouveau_dri2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
index cbb7b2a..07b6022 100644
--- a/src/nouveau_dri2.c
+++ b/src/nouveau_dri2.c
@@ -1076,7 +1076,7 @@
2012 May 01
7
[Bug 49351] New: glx-swap-pixmap piglit test breaks display
https://bugs.freedesktop.org/show_bug.cgi?id=49351
Bug #: 49351
Summary: glx-swap-pixmap piglit test breaks display
Classification: Unclassified
Product: xorg
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
2003 Apr 22
3
Problem with pixmap on R 1.7.0?
Hi R users:
I got the following message when I use the pixmap library
on R 1.7.0 over w2K platform (on R 1.6.2 it runs right).
pixmapGrey(matrix(c(0,1),128,128))
Error in .class1(object) : Object "from" not found
I download the library .zip file from:
http://cran.r-project.org/bin/windows/contrib/1.7/pixmap_0.3-2.zip
Other question:
When I try to "Install package(s) from
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>
---
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
2009 Mar 12
1
Using one buffer object per (EXA) pixmap potentially wastes memory.
I've been doing some testing and it seems that glyphs (typically
smaller than a page size on nv50) render slow'ish sometimes, mostly
due to the many trips to the kernel (drm_addmap_core is the symbol
that shows up). Ofcource this was a benchmark, but it does leave me
wondering, do we really need need to call the kernel for every little
pixmap? Also from a memory point of view, because a
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 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
2002 Sep 19
0
Pixmap package for Windows
Hi,
I tried to install the "pixmap" package on R 1.5.1. running on Windows 2000,
but all I get are the following errors - could it be that something is wrong
with the build of this particular package? Installation of other packages (I
just tried with "pinktoe") seems to work fine.
---------------------------------------------------------------
### When trying to "Install
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
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
2001 Sep 11
0
New package pixmap
A new package called `pixmap' has been released on CRAN. From the
DESCRIPTION file:
Package: pixmap
Version: 0.2-1
Title: Bitmap Images (``Pixel Maps'')
Depends: R (>= 1.3)
Author: Friedrich Leisch and Roger Bivand
Maintainer: Friedrich Leisch <Friedrich.Leisch at ci.tuwien.ac.at>
Description: Functions for import, export, plotting and other
manipulations of bitmapped