Re: [racket-users] saving a BMP in racket
I've updated `racket/draw` to restore support for writing BMP files. At Sun, 26 Jul 2015 11:55:51 -0400, 'John Clements' via Racket Users wrote: On Jul 23, 2015, at 2:47 AM, copycat kangren.c...@gmail.com wrote: Yes, i can and will try with the old imagemagick bindings. On Thursday, July 23, 2015 at 6:28:00 AM UTC+8, johnbclements wrote: On Jul 20, 2015, at 4:11 AM, copycat kangren.c...@gmail.com wrote: Hi, not sure if this is considered a bug? (send model save-file model1.bmp 'bmp) save-file in bitmap%: kind saving not yet implemented: 'bmp I found this link, and it's been 2 years since. Is it an update that will take a long time? http://stackoverflow.com/questions/14987784/how-can-i-save-a-bmp-in-racket My guess is that no one is currently working on this. I just took a quick 1-minute look at the respective wikipedia pages for PNGs and BMPs, and it appears that although in principle BMP can support things that PNG cannot (e.g., arbitrary bit-depth color channels), a PNG is not likely to lose any of the information associated with a racket bitmap%, meaning that generating a PNG and then converting it to a BMP using an external utility should produce the same result as directly creating a BMP. Granted, it’s not as convenient. Given this, would you consider this issue resolved if the word “yet” was simply removed from the error message? I’ve reworded this error message and pushed the change; I will cheerfully revert it if anyone objects. John Best, John Clements -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [racket-users] saving a BMP in racket
On Jul 23, 2015, at 2:47 AM, copycat kangren.c...@gmail.com wrote: Yes, i can and will try with the old imagemagick bindings. On Thursday, July 23, 2015 at 6:28:00 AM UTC+8, johnbclements wrote: On Jul 20, 2015, at 4:11 AM, copycat kangren.c...@gmail.com wrote: Hi, not sure if this is considered a bug? (send model save-file model1.bmp 'bmp) save-file in bitmap%: kind saving not yet implemented: 'bmp I found this link, and it's been 2 years since. Is it an update that will take a long time? http://stackoverflow.com/questions/14987784/how-can-i-save-a-bmp-in-racket My guess is that no one is currently working on this. I just took a quick 1-minute look at the respective wikipedia pages for PNGs and BMPs, and it appears that although in principle BMP can support things that PNG cannot (e.g., arbitrary bit-depth color channels), a PNG is not likely to lose any of the information associated with a racket bitmap%, meaning that generating a PNG and then converting it to a BMP using an external utility should produce the same result as directly creating a BMP. Granted, it’s not as convenient. Given this, would you consider this issue resolved if the word “yet” was simply removed from the error message? I’ve reworded this error message and pushed the change; I will cheerfully revert it if anyone objects. John Best, John Clements -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [racket-users] saving a BMP in racket
Yes, i can and will try with the old imagemagick bindings. On Thursday, July 23, 2015 at 6:28:00 AM UTC+8, johnbclements wrote: On Jul 20, 2015, at 4:11 AM, copycat kangren.c...@gmail.com wrote: Hi, not sure if this is considered a bug? (send model save-file model1.bmp 'bmp) save-file in bitmap%: kind saving not yet implemented: 'bmp I found this link, and it's been 2 years since. Is it an update that will take a long time? http://stackoverflow.com/questions/14987784/how-can-i-save-a-bmp-in-racket My guess is that no one is currently working on this. I just took a quick 1-minute look at the respective wikipedia pages for PNGs and BMPs, and it appears that although in principle BMP can support things that PNG cannot (e.g., arbitrary bit-depth color channels), a PNG is not likely to lose any of the information associated with a racket bitmap%, meaning that generating a PNG and then converting it to a BMP using an external utility should produce the same result as directly creating a BMP. Granted, it’s not as convenient. Given this, would you consider this issue resolved if the word “yet” was simply removed from the error message? Best, John Clements -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [racket-users] saving a BMP in racket
On Jul 20, 2015, at 4:11 AM, copycat kangren.c...@gmail.com wrote: Hi, not sure if this is considered a bug? (send model save-file model1.bmp 'bmp) save-file in bitmap%: kind saving not yet implemented: 'bmp I found this link, and it's been 2 years since. Is it an update that will take a long time? http://stackoverflow.com/questions/14987784/how-can-i-save-a-bmp-in-racket My guess is that no one is currently working on this. I just took a quick 1-minute look at the respective wikipedia pages for PNGs and BMPs, and it appears that although in principle BMP can support things that PNG cannot (e.g., arbitrary bit-depth color channels), a PNG is not likely to lose any of the information associated with a racket bitmap%, meaning that generating a PNG and then converting it to a BMP using an external utility should produce the same result as directly creating a BMP. Granted, it’s not as convenient. Given this, would you consider this issue resolved if the word “yet” was simply removed from the error message? Best, John Clements -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[racket-users] saving a BMP in racket
Hi, not sure if this is considered a bug? (send model save-file model1.bmp 'bmp) save-file in bitmap%: kind saving not yet implemented: 'bmp I found this link, and it's been 2 years since. Is it an update that will take a long time? http://stackoverflow.com/questions/14987784/how-can-i-save-a-bmp-in-racket -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.