By visual inspection of an 1200 pixels image scaled to 0.5 using the above
code any diferences are indistinguishable to my eye.
2016-08-31 22:40 GMT+02:00 Jens Axel Søgaard :
> Is the result as good as ImageMagick?
>
> Den 31. aug. 2016 kl. 22.25 skrev Tobias Gerdin :
>
> Right, that did it, than
Oh sorry, I have not tried that deep.
Racket logos and icons are also scaled in this way.
So for everyday tasks, I think this implementation is good enough
especially the backing-scale is taken care.
It's better than APIs in flomap and pict.
BTW, It's a long period that no one maintains the flomap
Is the result as good as ImageMagick?
> Den 31. aug. 2016 kl. 22.25 skrev Tobias Gerdin :
>
> Right, that did it, thanks!
>
> 2016-08-31 14:19 GMT+02:00 WarGrey Gyoudmon Ju :
>> Try this example,
>>
>> (require racket/draw)
>>
>> (define bitmap-blank
>> (lambda [[w 0] [h #false] #:backing-sc
Right, that did it, thanks!
2016-08-31 14:19 GMT+02:00 WarGrey Gyoudmon Ju :
> Try this example,
>
> (require racket/draw)
>
> (define bitmap-blank
> (lambda [[w 0] [h #false] #:backing-scale [backing-scale 2.0]]
> (define width (max 1 (exact-ceiling w)))
> (define height (max 1 (exact
Such an easy solution, works like a charm!
Thanks a lot!
-- Erich
On Wed, 31 Aug 2016 11:46:44 -0600
Matthew Flatt wrote:
> Hi Erich,
>
> Use `yield` in place of `sync`. Using `yield` will wait for the thread
> to complete in the same way as `sync`, but it will dispatch GUI events
> while wai
Hi Erich,
Use `yield` in place of `sync`. Using `yield` will wait for the thread
to complete in the same way as `sync`, but it will dispatch GUI events
while waiting.
Matthew
At Wed, 31 Aug 2016 18:10:17 +0100, Erich Rast wrote:
> Hi!
>
> I have a problem with the interplay between the racket G
Hi!
I have a problem with the interplay between the racket GUI main thread
and other threads. My application connects to a socket and creates a
GUI. Some of the GUI events are sent over the socket, and everything is
highly asynchronous -- there are multiple threads and channels between
them for so
Try this example,
(require racket/draw)
(define bitmap-blank
(lambda [[w 0] [h #false] #:backing-scale [backing-scale 2.0]]
(define width (max 1 (exact-ceiling w)))
(define height (max 1 (exact-ceiling (or h w
(make-bitmap width height #:backing-scale backing-scale)))
(define
For the newcomers like me, a small update here to say that proxy support has
almost landed in racket. https://github.com/racket/racket/pull/1411
Being behind a corporate firewall, I'm eager to test that!
Cheers,
Pierre.
--
You received this message because you are subscribed to the Google Grou
9 matches
Mail list logo