search for: tkimage

Displaying 11 results from an estimated 11 matches for "tkimage".

Did you mean: kimage
2020 Jul 09
0
Is this surprising behavior of tkimage.create function a bug?
tkimage.create function can read some images but can't read the other images. We can reproduce it by running the code below. ------------------------------------------------------------------------------------- library(tcltk) library(magick) # works fine tmp <- tempfile(fileext = ".gif")...
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 ones that work) Any help would be appreciated. - Wayne R.W. Oldford math.uwaterloo.ca/~rwoldfor > library(tcltk)...
2020 Jun 12
3
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
...fairly rare in PNG and are a more late extension so I couldn't find any examples. The code in Wayne's original message (copied below) generated the offending file: library(tcltk) fname <- "Rplot.png" png(filename = fname, width = 500, height = 500) hist(rnorm(20)) dev.off() tkimage.create("photo", file = fname) Best, John > > Thanks, > Simon > > >> On 12/06/2020, at 12:24 PM, Wayne Oldford <rwoldford at uwaterloo.ca> wrote: >> >> I don't know what has changed with Catalina >> >> But I just tried my tk c...
2020 Jun 12
3
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
...; Subject: Re: [Rd] tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf" Dear Wayne and Peter, FWIW, I observe exactly the same problem in Catalina. The error and my session info: -------- snip -------- > tkimage.create("photo", file = fname) Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") : [tcl] encountered an unsupported criticial chunk type "eXIf". > sessionInfo() R version 4.0.0 (2020-04-24) Platform: x86_64-apple-darwin1...
2020 Jun 11
0
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
Dear Wayne and Peter, FWIW, I observe exactly the same problem in Catalina. The error and my session info: -------- snip -------- > tkimage.create("photo", file = fname) Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") : [tcl] encountered an unsupported criticial chunk type "eXIf". > sessionInfo() R version 4.0.0 (2020-04-24) Platform: x86_64-apple-darwin17.0 (64-bit) Running und...
2020 Jun 12
0
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
...tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf" > > Dear Wayne and Peter, > > FWIW, I observe exactly the same problem in Catalina. The error and my session info: > > -------- snip -------- > >> tkimage.create("photo", file = fname) > Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") : > [tcl] encountered an unsupported criticial chunk type "eXIf". > >> sessionInfo() > R version 4.0.0 (2020-04-24) > Platform: x86...
2020 Jun 11
0
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
...at uwaterloo.ca> wrote: > > 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 ones that work) > > Any help would be appreciated. > > - Wayne > > > R.W....
2020 Jun 12
0
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
...ouldn't find any examples. > > The code in Wayne's original message (copied below) generated the offending file: > > library(tcltk) > > fname <- "Rplot.png" > png(filename = fname, width = 500, height = 500) > hist(rnorm(20)) > dev.off() > > tkimage.create("photo", file = fname) There are several png() devices for R. The default on macOS is to use Quartz, and that depends on macOS system functions so might well have changed with Mojave -> Catalina. As a workaround, try e.g. png(type='cairo'). E.g. fname <- file.p...
2006 Apr 25
3
file upload and check width and height of the picture
i have an file upload in my rails app and i''m saving the picture in the filesystem. i need to validate if the uploaded picture have a certain width and height. how can i do this thank you very much -- Posted via http://www.ruby-forum.com/.
2003 Oct 08
1
R-1.8.0 is released
...roperly when profiling on a Mac. (PR#1140) o Lapack error messages (PR#3494) and call to DGEQP3 (PR#2867) are corrected. o Rd conversion was limiting a file to 1000 pairs of braces, without any warning. Now the limit is 10000, with a warning. (PR#3400) o In the tcltk package, the tkimage.*() commands were defined nonsensically as widget commands. They have been redefined to be more useful now. o Registered group generics were not being used. (PR#3536) o Subsetting data frames did not always correctly detect that non-existent columns were specified. o There are man...
2003 Oct 08
1
R-1.8.0 is released
...roperly when profiling on a Mac. (PR#1140) o Lapack error messages (PR#3494) and call to DGEQP3 (PR#2867) are corrected. o Rd conversion was limiting a file to 1000 pairs of braces, without any warning. Now the limit is 10000, with a warning. (PR#3400) o In the tcltk package, the tkimage.*() commands were defined nonsensically as widget commands. They have been redefined to be more useful now. o Registered group generics were not being used. (PR#3536) o Subsetting data frames did not always correctly detect that non-existent columns were specified. o There are man...