8
$\begingroup$

Bug introduced in 8 or earlier and persisting through 11.2.0


In version 11.0.0 I am getting incorrect sizes from Rasterize. The problem remains in 11.0.1

Rasterize["hi", "Image", ImageSize -> {100, 100}] // ImageDimensions
(* {100, 102} *)

Rasterize["hi", "Graphics", ImageSize -> {100, 100}] // First // First // Dimensions
(* {102, 100, 3} *)

Rasterize["hi", "RasterSize", ImageSize -> {100, 100}]
(* {96, 102} *)

Can anyone confirm this?

I am using Windows 10.

$\endgroup$
  • $\begingroup$ I tested on MMA 11, Ubuntu 15.10 64 bits, it returns {100,100}, {100,100,3} but {94, 89}. $\endgroup$ – anderstood Aug 10 '16 at 19:55
  • $\begingroup$ Win 7 V11 : {100, 101}, {101, 100, 3}, {94, 101}. V10.4 {100, 100}, {100, 100, 3}, {98, 86} $\endgroup$ – Kuba Aug 10 '16 at 20:24
  • $\begingroup$ I'd report this to Wolfram wolfram.com/support/contact/email/?topic=Technical $\endgroup$ – user6014 Aug 10 '16 at 21:26
  • $\begingroup$ Reported to Wolfram, case number 3685431 $\endgroup$ – Simon Woods Aug 11 '16 at 7:52
  • $\begingroup$ OSX (10.9.5) : with "hi" : v11.0.1 {100,100}, {100,100,3} but {92,97}, for v10.3.1 {100,100}, {100,100,3} but {98,92}. I also tested "hii" : v11.0.1 {102,100}, {100,102,3} and {102,72}, for v10.3.1 {102,100}, {100,102,3} AND {102,58} !! $\endgroup$ – SquareOne Oct 7 '16 at 9:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.