Author | Topic: Images in Dll | |
---|---|---|
Carlos A Beling | Images in Dll on Thu, 11 Oct 2018 21:29:37 -0300 Good night. I have many images in dlls using formats ICO, BMP, JPG, PNG, GIF. I load the image in XbpBitmap(). Some images (as PNG) does not work fine. Then I would like to transform any of them into BMP format, for general usage (including transparent color and disable), using :XbpBitmap():setBuffer() and it does not work. In 03.05.2018 in the GUI NG, under subject _Re: PNG Again_, Mr Diego posted a nice work that shows how to convert files format. Would it to be possible convert the XbpBitmap():setbuffer() to BMP format? Fraternally Beling | |
Jorge L. Borlando | Re: Images in Dll on Fri, 12 Oct 2018 10:38:22 -0300 Hi Carlos with this code html and XbpHtmlViewer(), show the images in excelent definition and wihtout problems with format best regards '<html>' +; '<body>' +; '<img src="' + cFile+ '" ' +; 'width="' + LTrim( Str( x -40, 8 ) ) +; '" height="' + LTrim( Str( y -40, 8 ) ) + '">' +; '</body>' +; '</html>' "Carlos A Beling" <beling@bipbip.com.br> wrote in message news:177887d3$2ea44209$63c9f@news.alaska-software.com... > Good night. > I have many images in dlls using formats ICO, BMP, JPG, PNG, GIF. > I load the image in XbpBitmap(). Some images (as PNG) does not work fine. > Then I would like to transform any of them into BMP format, for general > usage (including transparent color and disable), using > :XbpBitmap():setBuffer() and it does not work. > In 03.05.2018 in the GUI NG, under subject _Re: PNG Again_, Mr Diego > posted a nice work that shows how to convert files format. Would it to be > possible convert the XbpBitmap():setbuffer() to BMP format? > > Fraternally > Beling > | |
Carlos A Beling | Re: Images in Dll on Fri, 12 Oct 2018 13:14:07 -0300 Hi Jorge. Good afternoon. Many thanks. Unfortunately in the code that you posted the image needs to be ina a file. The function of Mr Diego makes the files conversion very well and, unfortunately, I have many images in resource files that I need to use in different ways.. Fraternally Beling Em 12/10/2018 10:38, Jorge L. Borlando escreveu: > Hi Carlos > > with this code html and XbpHtmlViewer(), show the images in excelent > definition and wihtout problems with format > > best regards > '<html>' +; > '<body>' +; > '<img src="' + cFile+ '" > ' +; > 'width="' + LTrim( Str( x -40, 8 ) > ) +; > '" height="' + LTrim( Str( y -40, 8 ) > ) + '">' +; > '</body>' +; > '</html>' > > > "Carlos A Beling" <beling@bipbip.com.br> wrote in message > news:177887d3$2ea44209$63c9f@news.alaska-software.com... >> Good night. >> I have many images in dlls using formats ICO, BMP, JPG, PNG, GIF. >> I load the image in XbpBitmap(). Some images (as PNG) does not work fine. >> Then I would like to transform any of them into BMP format, for >> general usage (including transparent color and disable), using >> :XbpBitmap():setBuffer() and it does not work. >> In 03.05.2018 in the GUI NG, under subject _Re: PNG Again_, Mr Diego >> posted a nice work that shows how to convert files format. Would it to >> be possible convert the XbpBitmap():setbuffer() to BMP format? >> >> Fraternally >> Beling >> | |
Jorge L. Borlando | Re: Images in Dll on Fri, 12 Oct 2018 17:09:27 -0300 Hi Carlos, this utilitie is free, supppor command line and not need instalation "Carlos A Beling" <beling@bipbip.com.br> wrote in message news:617990eb$6e847d2e$66284@news.alaska-software.com... > Hi Jorge. > Good afternoon. > Many thanks. > Unfortunately in the code that you posted the image needs to be ina a > file. > The function of Mr Diego makes the files conversion very well and, > unfortunately, I have many images in resource files that I need to use in > different ways.. > > Fraternally > Beling > > Em 12/10/2018 10:38, Jorge L. Borlando escreveu: >> Hi Carlos >> >> with this code html and XbpHtmlViewer(), show the images in excelent >> definition and wihtout problems with format >> >> best regards >> '<html>' +; >> '<body>' +; >> '<img src="' + cFile+ '" >> ' +; >> 'width="' + LTrim( Str( x -40, 8 ) >> ) +; >> '" height="' + LTrim( Str( y -40, 8 ) >> ) + '">' +; >> '</body>' +; >> '</html>' >> >> >> "Carlos A Beling" <beling@bipbip.com.br> wrote in message >> news:177887d3$2ea44209$63c9f@news.alaska-software.com... >>> Good night. >>> I have many images in dlls using formats ICO, BMP, JPG, PNG, GIF. >>> I load the image in XbpBitmap(). Some images (as PNG) does not work >>> fine. >>> Then I would like to transform any of them into BMP format, for >>> general usage (including transparent color and disable), using >>> :XbpBitmap():setBuffer() and it does not work. >>> In 03.05.2018 in the GUI NG, under subject _Re: PNG Again_, Mr Diego >>> posted a nice work that shows how to convert files format. Would it to >>> be possible convert the XbpBitmap():setbuffer() to BMP format? >>> >>> Fraternally >>> Beling >>> resourcesextract.zip | |
Jim Lee | Re: Images in Dll on Fri, 12 Oct 2018 22:37:17 +0200 hi, what size have your Image and what are you doing with it ? are Xbase++ App use those Image or external Software ? Windows have Imagelist to hold Image (any Type). Imagelist can e.g. used to hold own Image for visual Style. | |
Carlos A Beling | Re: Images in Dll on Sat, 13 Oct 2018 11:20:24 -0300 Hello Jorge and Jim. Good morning. Many thanks. I will give it a try. Fraternally Beling Em 12/10/2018 17:37, Jim Lee escreveu: > hi, > > what size have your Image and what are you doing with it ? > are Xbase++ App use those Image or external Software ? > > Windows have Imagelist to hold Image (any Type). > Imagelist can e.g. used to hold own Image for visual Style. > > |