similar to: file upload and check width and height of the picture

Displaying 20 results from an estimated 4000 matches similar to: "file upload and check width and height of the picture"

2006 Jan 29
8
Determining width and height of image files
I''m trying to figure out how to determine the width and height of images that are uploaded through my app. Either from the posted data or the file I save to disk. I''ve been searching around for info but no luck; I''m completely at a loss. Any suggestions or pointers would be great. Project background: The site is an artists portfolio site. The images are thumbnails
2006 Jan 16
6
file_column plugin error
Hi, I downloaded FileColumn plugin and love the concept. But when I tried the example listed on the plugin web site, I got the following error: NoMethodError in Entry#new undefined method `file_column'' for Entry:Class My environement is Red Hat linux 9.0 with mysql 4.1. I installed file_column under vendor/plugins. If I run "ls", I get the following directories:
2020 Jun 11
4
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
Hello everyone I am not sure when this appeared (sometime post R 3.5.0 and after I switched to Mac OS Catalina). I do not think it happens on all platforms (e.g. seems to work on windows). But it seems that tkimage.create() no longer works on a Mac for all png files. (It does work for *some* old png files I have on disk but I have not been able to determine what is different about the
2006 Apr 01
3
Determine image width of png, gif or jpg?
Hi all In PHP I have a neat function: http://ch2.php.net/function.getimagesize With it I can easily determine the dimensions of an image file. How can I do that in RoR? Thanks for help. Greets, Josh -- Posted via http://www.ruby-forum.com/.
2020 Jun 12
3
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
Dear Simon, > On Jun 11, 2020, at 9:00 PM, Simon Urbanek <simon.urbanek at r-project.org> wrote: > > Wayne, > > that one is unrelated, but interesting - you can fix it with > > sudo install_name_tool -change \ > /usr/local/lib:/opt/X11/lib/libtk8.6.dylib \ > /usr/local/lib/libtk8.6.dylib \ > /usr/local/bin/wish8.6 > > There is a bug in tcltk with
2020 Jun 12
3
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
I don't know what has changed with Catalina But I just tried my tk console from the shell command tkcon And got the following error. Here is my shell: $ tkcon dyld: Library not loaded: /usr/local/lib:/opt/X11/lib/libtk8.6.dylib Referenced from: /usr/local/bin/wish Reason: image not found Abort trap: 6 I don't know whether this is a red herring or not, but the
2006 Jul 14
2
watermark with file_colum
Is this possible? I see rmajick allows for a image.stenago( watermark=>''myimage.gif'') Anyone have any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060714/6e9af7a6/attachment.html
2008 Dec 03
2
Making a picture that is wide and small height
How do I make a picture that is a horizontal strip? I tried > plot(x=c(1,2,3,4),y=c(1,1,1,1)) #works but screen image is square. > pdf("ratio.pdf",height=1,width=6) > plot(x=c(1,2,3,4),y=c(1,1,1,1)) I got the following error message: Error in plot.new() : figure margins too large Is it possible to produce an on-screen picture that is a horizontal strip? (I use Mac Os X
2006 Mar 03
0
Error: Widget field13 has zero width and/or height
Greetings, An update via cvsup (attempting to chase 5.4 stable) on 2006-02-20 @2:40 PM resulted in a couple of disappointments; 1) after re-building the kernel (cvsupped the SRC on SMP as well) and installing it. I performed a build/ install world and portupgrade -a. The portupgrade -a took 2 full days on a base of 246 installed ports. And resulted in a *465 installed ports base*. Ouch! It's
2007 Jan 04
0
dashed lines and SVG files devSVG("/folderul/unde/salvez/myplot.svg", width=10, height=10) plot(1:10, 1:10) dev.off()
Dear helpers, I have a question about the SVG device. It works fine, the SVG file is indeed produced, only the graphic differs from the R window. In the SVG file the dashed line is just a regular plain one. My toy example is: library(RSvgDevice) devSVG("myplot.svg", width=10, height=10) plot(1:10) abline(v=5, lty=?dashed?) dev.off() Is there anything more (or different) I should do?
2009 Apr 03
1
How to find out image width and height which is saved in database?
How to find out image width and height which is saved in database, with out using any applications or addons Please help --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe
2006 Jun 07
0
How to determine width and height of FXImageView?
On Wed, 07 Jun 2006 16:38:43 +0200, "Axel Etzold" <AEtzold at gmx.de> wrote : > In one field of an FX4Splitter, I want to display a PNG > image. > I know how to do this (basically) from the imageviewer.rb > file. > But the image I display needs to be generated first > (by Gnuplot ... no problem to output PNG from there, > except one: to set the size : I
2020 Jul 01
1
[PATCH] drm/virtgpu: remove redundant assignments to width and height
From: Colin Ian King <colin.king at canonical.com> Variables width and height are being assigned values that are never read. The assignments are redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <colin.king at canonical.com> --- drivers/gpu/drm/virtio/virtgpu_display.c | 2 -- 1 file changed, 2 deletions(-) diff --git
2005 Jan 13
1
Setting the width and height of a Sweave figure
Hello R-people, I have a function which plots two figures next to each other using if(dev.cur()==1) x11(width=14,height=7) to create a new window and set the size of the window automatically if no device is open. This works fine in interactive mode but I don't know how Sweave gets the parameters for the figures, and right now the default behavior causes this figure to be square and the
2005 Dec 30
1
Error in X11(paste("png::", filename, sep = ""), width, height, pointsize unable to start device PNG
Hi, I got this error while using png() function in RedHat 9.0. "Error in X11(paste("png::", filename, sep = ""), width, height, pointsize unable to start device PNG" It looks like the system lacks some library for graphics. Can anyone tell me which rpm I should install to have png() function work with out problem? Thanks ...
2012 May 13
1
determine size (width and height) of a graphics file via R - how?
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt. Name: nicht verf?gbar URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120513/4aaf35d4/attachment.pl>
2007 Mar 19
2
Wine crash: err:x11drv:X11DRV_CreateWindow invalid window height (or width)
Paradox 7.0 crashes wine with this error on suse 10.1: hk@linux:~> wine /home/hk/.wine/drive_c/Program\ Files/Borland/Paradox7/pdxwin32.exe err:x11drv:X11DRV_CreateWindow invalid window height -24 err:x11drv:X11DRV_CreateWindow invalid window width -70 err:x11drv:X11DRV_CreateWindow invalid window height -24 (there it stops, and goes no further). I tested this on wine 0.9.26, 0.9.27 and
1999 May 17
1
Character height & width in user co-ordinates
Is there an equivalent to the S-PLUS par()$cxy in R? Also, is it possible to get notice taken of some equivalent of \n in R when using text()? For what it is worth I am using RW-0.64.1. John Maindonald email : john.maindonald at anu.edu.au Statistical Consulting Unit, phone : (6249)3998 c/o CMA, SMS, fax : (6249)5549 John Dedman Mathematical
2010 Nov 16
1
problem with PDF/postcript, cannot change paper size: "‘mode(width)’ and ‘mode(height)’ differ between new and previous"
Hi, The pdf function would not let me change the paper size and gives me the following warning: pdf("figure.pdf", width="6", height="10") Warning message: ?mode(width)? and ?mode(height)? differ between new and previous ==> NOT changing ?width? & ?height? If I use the option paper = "a4r", it does not give me a warning but still prints on a
2009 Dec 13
2
Reading framerate, height, width from Theora file
I'd like to get basic information about a Theora file using C# .NET. How can I get started on this? I know there's oggz-info and other utilities, but I'd like to do this straight from in .NET. What's the documentation page to find more on this? Can I just read the first x bytes of the video corresponding to each field? I found this page which I think is what I need, but I'm