Re: Re (3): [OT] Re: An inline bitmap in an HTML file.
On Sat, 18 Aug 2012 13:53:01 -0800, peasthope wrote: From: Camaleon noela...@gmail.com Date: Sat, 18 Aug 2012 19:48:51 + (UTC) To keep things as simple as possible, instead PNG (or SVG) I would go for a GIF image ... Open source people usually recommend PNG rather than JPG. Yours is the the first recommendation for GIF. I can't see why not recommending GIF (the only issue was the patented algorithm for compression which is now expired), this image format is perfect for small B/W images like yours. PNG and SVG both can be unable to render from old browsers. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/k0r24f$da2$3...@ger.gmane.org
Re (3): [OT] Re: An inline bitmap in an HTML file.
From: Linux-Fan ma_sys...@web.de Date: Fri, 17 Aug 2012 21:52:08 +0200 The command rsvg [source] [destination] easily converts SVG to PNG. I used rsvg to recreate the PNG image and it appears identical to the image made by convert a few days back. The same artifacts are present. http://members.shaw.ca/peasthope/Category2.html#ProductDiagrams It was too slow for my 300 MiB svg file and I found that rsvg did this much faster (and also used a lot more RAM). Seems possible that convert and rsvg use the same rasterizing software and the differences you found relate to other factors. Regards, ... Peter E. -- 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12 Telephone +13606390202. Bcc: peter at easthope.ca http://carnot.yi.org/ http://members.shaw.ca/peasthope/index.html#Itinerary -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/171057618.50159.31710@cantor.invalid
Re: Re (2): [OT] Re: An inline bitmap in an HTML file.
On Fri, 17 Aug 2012 10:48:41 -0800, peasthope wrote: From: Camaleon noela...@gmail.com Date: Fri, 17 Aug 2012 15:19:25 + (UTC) ... really mean you were not aware that there existed the img tag for displaying images in html? Used img border= ... in many places. In this instance I became so preoccupied with transforming the example to my case, that img didn't cross my mind. Tunnel vision or tunnel thinking. Ha. Yes... that happens :-) Incidentally, http://members.shaw.ca/peasthope/Category2.html#Product0x0Test0 has two artifacts which are noticeable on comparison with http://members.shaw.ca/peasthope/Category2.xhtml . I used convert from Imagemagick to make the png from the svg. To keep things as simple as possible, instead PNG (or SVG) I would go for a GIF image format to avoid having problems with web browsers. Also, remember that img tag is an element that usually degrades quite well even when using text based browsers. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/k0orj3$ct$7...@ger.gmane.org
Re (3): [OT] Re: An inline bitmap in an HTML file.
From: Camaleon noela...@gmail.com Date: Sat, 18 Aug 2012 19:48:51 + (UTC) To keep things as simple as possible, instead PNG (or SVG) I would go for a GIF image ... Open source people usually recommend PNG rather than JPG. Yours is the the first recommendation for GIF. Thanks, ... Peter E. -- 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12 Telephone +13606390202. Bcc: peter at easthope.ca http://carnot.yi.org/ http://members.shaw.ca/peasthope/index.html#Itinerary -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/171057618.56641.31712@cantor.invalid
Re: [OT] Re: An inline bitmap in an HTML file.
On Thu, 16 Aug 2012 16:47:30 -0800, peasthope wrote: Why? My first Google search turned up the example in the w3.org page cited in the original query. I see... but you really mean you were not aware that there existed the img tag for displaying images in html? Don't you like the img tag? :-? So many choices. Will try img. :-) The object tag is mainly used to load another kind of content (java applets, multimedia files and all kind of external/non native plugins, in general). A good source for getting the basics on html and related technologies is this site: http://www.w3schools.com you mean the image at the bottom (Product Diagrams)? Correct. Maybe I'm missing something but I can see the image rendered using Firefox 14.0.1 :-? Yes, with the correction from Manuel Cremer it works. Ah! I saw the one that was already working, sorry :-P http://members.shaw.ca/peasthope/Category2.xhtml was developed first. The SVG diagrams there are displayed correctly by Iceweasel but not by some browers. For them I am making Category2.html with png diagrams. Yes, SVG is not well supported in many Internet Explorer versions, for instance. Thanks for recommending img, ... Peter E. You're welcome. Note there's a slight difference when using object and img tags. Look, if you open the page: http://members.shaw.ca/peasthope/Category2.html#Product0x0Test0 Rigth-click over the image and choose view image info, there's no preliminary view, it appears to be broken. This can be good (to avoid being scanned by bots) or bad (the web browser cannot cache the source). Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/k0lndt$o53$1...@ger.gmane.org
Re (2): [OT] Re: An inline bitmap in an HTML file.
From: Camaleon noela...@gmail.com Date: Fri, 17 Aug 2012 15:19:25 + (UTC) ... really mean you were not aware that there existed the img tag for displaying images in html? Used img border= ... in many places. In this instance I became so preoccupied with transforming the example to my case, that img didn't cross my mind. Tunnel vision or tunnel thinking. Incidentally, http://members.shaw.ca/peasthope/Category2.html#Product0x0Test0 has two artifacts which are noticeable on comparison with http://members.shaw.ca/peasthope/Category2.xhtml . I used convert from Imagemagick to make the png from the svg. Regards, ... Peter E. -- 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12 Telephone +13606390202. Bcc: peter at easthope.ca http://carnot.yi.org/ http://members.shaw.ca/peasthope/index.html#Itinerary -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/171057617.44073.26244@cantor.invalid
Re: Re (2): [OT] Re: An inline bitmap in an HTML file.
On 08/17/2012 08:48 PM, peasth...@shaw.ca wrote: From: Camaleon noela...@gmail.com Date: Fri, 17 Aug 2012 15:19:25 + (UTC) ... really mean you were not aware that there existed the img tag for displaying images in html? Used img border= ... in many places. In this instance I became so preoccupied with transforming the example to my case, that img didn't cross my mind. Tunnel vision or tunnel thinking. Incidentally, http://members.shaw.ca/peasthope/Category2.html#Product0x0Test0 has two artifacts which are noticeable on comparison with http://members.shaw.ca/peasthope/Category2.xhtml . I used convert from Imagemagick to make the png from the svg. I did not try this with your SVG graphics as I did not bother to extract them from the XHTML source but you could probably try librsvg2-bin. The command rsvg [source] [destination] easily converts SVG to PNG. I also had some problems with convert's SVG rendering. It was too slow for my 300 MiB svg file and I found that rsvg did this much faster (and also used a lot more RAM). Regards, ... Peter E. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/502ea0e8.6020...@web.de
[OT] Re: An inline bitmap in an HTML file.
On Wed, 15 Aug 2012 12:21:58 -0800, peasthope wrote: At the end of this section is an example illustrating inline data in an HTML file. http://www.w3.org/TR/html4/struct/objects.html#h-13.3.1 Yes, the object tag is mainly used for uncommon elements. Here I tried to use that idea to include a png image. Why? Don't you like the img tag? :-? AFAIK, static PNG images are nowadays supported by most modern browsers. http://members.shaw.ca/peasthope/Category2.html#Product0x0Test0 Iceweasel 14.0.1 displays the caption, 0x0, but no image. The page validates and the problem is unlikely to be in Iceweasel. Any advice? Mmm... you mean the image at the bottom (Product Diagrams)? Maybe I'm missing something but I can see the image rendered using Firefox 14.0.1 :-? Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/k0j19k$svs$5...@ger.gmane.org
Re: [OT] Re: An inline bitmap in an HTML file.
From: Camaleon noela...@gmail.com Date: Thu, 16 Aug 2012 14:49:24 + (UTC) Why? My first Google search turned up the example in the w3.org page cited in the original query. Don't you like the img tag? :-? So many choices. Will try img. you mean the image at the bottom (Product Diagrams)? Correct. Maybe I'm missing something but I can see the image rendered using Firefox 14.0.1 :-? Yes, with the correction from Manuel Cremer it works. http://members.shaw.ca/peasthope/Category2.xhtml was developed first. The SVG diagrams there are displayed correctly by Iceweasel but not by some browers. For them I am making Category2.html with png diagrams. Thanks for recommending img, ... Peter E. -- 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12 Telephone +13606390202. Bcc: peter at easthope.ca http://carnot.yi.org/ http://members.shaw.ca/peasthope/index.html#Itinerary -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/171057616.68574.25916@cantor.invalid
An inline bitmap in an HTML file.
At the end of this section is an example illustrating inline data in an HTML file. http://www.w3.org/TR/html4/struct/objects.html#h-13.3.1 Here I tried to use that idea to include a png image. http://members.shaw.ca/peasthope/Category2.html#Product0x0Test0 Iceweasel 14.0.1 displays the caption, 0x0, but no image. The page validates and the problem is unlikely to be in Iceweasel. Any advice? Thanks, ... Peter E. -- 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12 Telephone 1 360 639 0202. Bcc: peter at easthope.ca http://carnot.yi.org/ http://members.shaw.ca/peasthope/index.html#Itinerary -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/171057615.50554.28789@cantor.invalid
Re: An inline bitmap in an HTML file.
On 08/15/2012 10:21 PM, peasth...@shaw.ca wrote: At the end of this section is an example illustrating inline data in an HTML file. http://www.w3.org/TR/html4/struct/objects.html#h-13.3.1 Here I tried to use that idea to include a png image. http://members.shaw.ca/peasthope/Category2.html#Product0x0Test0 Iceweasel 14.0.1 displays the caption, 0x0, but no image. The page validates and the problem is unlikely to be in Iceweasel. Any advice? Thanks, ... Peter E. Although I do not know why this should be debian-related, it is a small typing mistake: it must be type=img/png data=data:image/png;base64, iVBORw0KGgoNSUhEUgAAAIYAAADyEAQAAAByU6mOAmJLR0T//xSrMc0JcEhZcwAA... instead of type=img/png data=data:base64, iVBORw0KGgoNSUhEUgAAAIYAAADyEAQAAAByU6mOAmJLR0T//xSrMc0JcEhZcwAA... It is actually documented in the W3C sheet you refer to. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/502c16cc.3070...@web.de
Re (2): An inline bitmap in an HTML file.
From: Manuel Cremer ma_sys...@web.de Date: Wed, 15 Aug 2012 23:38:20 +0200 Although I do not know why this should be debian-related, ... True enough, it isn't. At the time there seemed a small chance it was an iceweasel problem and in any case, many sharp people read this list. it must be type=img/png data=data:image/png;base64, Specifying the type and then specifying it again in the data is counter-intuitive. It must be an idiosyncracy of the syntax. Thanks! ... Peter E. -- 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12 Telephone +13606390202. Bcc: peter at easthope.ca http://carnot.yi.org/ http://members.shaw.ca/peasthope/index.html#Itinerary -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/171057615.79237.28793@cantor.invalid