[MBS] LCMS2 Display RGB

2015-08-20 Thread Lee Badham
Hi,

Is there a way of getting Xojo to display the correct colour in screen?

I’m using LCMS2MBS to convert a colour into the RGB values for my monitor using 
the correct monitor ICC profile. The picture itself has the right RGB values in 
it. However, when displayed in my Xojo App, the colour is displayed completely 
wrong. What is happening is that the picture is being assigned ‘Generic RGB 
Profile.icc’ before display, not the monitor profile.

If I convert my image to ‘Generic RGB Profile’ before creating my picture then 
I would lose the extra gamut my monitor has. Also how would multiple monitors 
work?

Regards,

Lee Badham

Bodoni Systems Ltd



___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] ReadRow or Scanline for JPEG?

2015-08-20 Thread Christian Schmitz

 
 Is there any equivalent technique for reading gigantic JPEG images?

Yes. Read row by row.

By using InitJPEG/LoopJPEG and FinishJPEG.
And using a mode with ByRow in name. The memoryblock in PictureData has the 
bytes for each row after calling LoopJPEG.

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


[MBS] ReadRow or Scanline for JPEG?

2015-08-20 Thread Michael Diehr
Hi Christian,

When using PictureMBS, there are examples for loading giant pictures using 
PNGReaderMBS.ReadRow, and TIFFPictureMBS.Scanline().

I looked at JPEGImporter but it doesn't seem to have a way to get row-by-row 
data.

Is there any equivalent technique for reading gigantic JPEG images?

thx
___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] ReadRow or Scanline for JPEG?

2015-08-20 Thread Michael Diehr
On Aug 20, 2015, at 1:32 PM, Christian Schmitz supp...@monkeybreadsoftware.de 
wrote:
 Yes. Read row by row.
 
 By using InitJPEG/LoopJPEG and FinishJPEG.
 And using a mode with ByRow in name. The memoryblock in PictureData has the 
 bytes for each row after calling LoopJPEG.

Brilliant, works great - thank you!
___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info