[Libreoffice-bugs] [Bug 128309] Apple PICT: "Quicktime and a TIFF uncompressed decompressor are needed to see this picture"
https://bugs.documentfoundation.org/show_bug.cgi?id=128309 Sierk Bornemann changed: What|Removed |Added Blocks||42082 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=42082 [Bug 42082] [META] Make LibreOffice shine and glow on macOS -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 128309] Apple PICT: "Quicktime and a TIFF uncompressed decompressor are needed to see this picture"
https://bugs.documentfoundation.org/show_bug.cgi?id=128309 --- Comment #9 from Julien Nabet --- (In reply to osnola from comment #8) > > 1508 case 0x8201: { > > ... > > 1512 MWAW_DEBUG_MSG(("ApplePictParser::readZone: reading compressed > > Quicktime is not implemented\n")); > > ... > > 1515 break; > > Most probably, a bad comment. I guess this comment was at first about > opcodes 8200 and 8201, and then I found some files with opcode 8200 ( so I > tried to reverse its format ). > > > What does disable pct filter in libmwaw? > > Oops, I was talking nonsense. I just checked that the libmwaw code for > ApplePicture can be called in LibreOffice by hand selecting the Mac Legacy > Drawing filter. This means that the ipict filter is called first and accepts > to convert the given image ( which I will send you by mail ) Received but it seems the same as https://bugs.documentfoundation.org/attachment.cgi?id=155279 > > > Perhaps LO ipict part could use libmwaw which could itself use libtiff > > when tiff is concerned. > > Now if it's the case, I don't know how to do this. > > For this picture, I suppose that it is possible to modify ipict and add a > function to try to retrieve a bitmap by mimicking the code of > "ApplePictParser::readQuicktime". > > Note: > Apple Picture can be a mixture of bitmaps and vector graphics. ipict can > call codes to work on bitmaps (for example, draw a rectangle in XOR mode, > ...), so it is often better. In libmwaw, I don't have such a code, so I > create only a vector graphic, (i.e. in this case, I add a rectangle and > ignore the XOR mode). Ok, I'm not good enough at dev to do this but it seems to be a good starting point for some devs. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 128309] Apple PICT: "Quicktime and a TIFF uncompressed decompressor are needed to see this picture"
https://bugs.documentfoundation.org/show_bug.cgi?id=128309 --- Comment #8 from osnola --- > 1508 case 0x8201: { > ... > 1512 MWAW_DEBUG_MSG(("ApplePictParser::readZone: reading compressed > Quicktime is not implemented\n")); > ... > 1515 break; Most probably, a bad comment. I guess this comment was at first about opcodes 8200 and 8201, and then I found some files with opcode 8200 ( so I tried to reverse its format ). > What does disable pct filter in libmwaw? Oops, I was talking nonsense. I just checked that the libmwaw code for ApplePicture can be called in LibreOffice by hand selecting the Mac Legacy Drawing filter. This means that the ipict filter is called first and accepts to convert the given image ( which I will send you by mail ) > Perhaps LO ipict part could use libmwaw which could itself use libtiff when > tiff is concerned. > Now if it's the case, I don't know how to do this. For this picture, I suppose that it is possible to modify ipict and add a function to try to retrieve a bitmap by mimicking the code of "ApplePictParser::readQuicktime". Note: Apple Picture can be a mixture of bitmaps and vector graphics. ipict can call codes to work on bitmaps (for example, draw a rectangle in XOR mode, ...), so it is often better. In libmwaw, I don't have such a code, so I create only a vector graphic, (i.e. in this case, I add a rectangle and ignore the XOR mode). -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 128309] Apple PICT: "Quicktime and a TIFF uncompressed decompressor are needed to see this picture"
https://bugs.documentfoundation.org/show_bug.cgi?id=128309 --- Comment #7 from Julien Nabet --- (In reply to osnola from comment #6) > Regarding the documentation, "Inside Macintosh: Imaging With Quickdraw" has > a lot of information about the Apple Pict format, but the information about > the CompressedQuickTime opcode 8200 is not very useful. :-( > I assumed that this code only encapsulated basic QuickTime data, so we need > to find some documentation on the QuickTime format, perhaps > https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/ > QTFFPreface/qtffPreface.html . It seems to talk about movie format. > > Note: > - A long time ago, I added a .pct filter in libmwaw (which is disabled in > LibreOffice, in fact writerperfect checks if libmwaw finds an apple image > file, and if so, refuses to convert it). This filter allows to retrieve some > 8200 data. You can look for ApplePictParser::readQuicktime in > src/lib/ApplePictParser.cxx... Reading code from src/lib/ApplePictParser.cxx, I see: 1494 case 0x8200: { 1495 MWAWEmbeddedObject picture; 1496 MWAWBox2f bdBox; 1497 if (!readQuicktime(picture,bdBox)) 1498 return false; ... 1506 break; 1507 } 1508 case 0x8201: { ... 1512 MWAW_DEBUG_MSG(("ApplePictParser::readZone: reading compressed Quicktime is not implemented\n")); ... 1515 break; 1516 } but according to https://developer.apple.com/library/archive/documentation/mac/QuickDraw/QuickDraw-461.html 8200 is for compressed code and 8201 for uncompressed mode. I see in LO that libmwaw is still used and uses its last version. download.lst contains: 184 export MWAW_VERSION_MICRO := 21 185 export MWAW_TARBALL := libmwaw-0.3.$(MWAW_VERSION_MICRO).tar.xz What does disable pct filter in libmwaw? I mean "ApplePictParser" is present in Library_mwaw.mk since: commit 6b0585a5b7e32d9acb6d8bc5f15d187959c7cc5b Author: David Tardon Date: Mon Aug 24 20:49:00 2015 +0200 upload libmwaw 0.3.6 Perhaps LO ipict part could use libmwaw which could itself use libtiff when tiff is concerned. Now if it's the case, I don't know how to do this. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 128309] Apple PICT: "Quicktime and a TIFF uncompressed decompressor are needed to see this picture"
https://bugs.documentfoundation.org/show_bug.cgi?id=128309 --- Comment #6 from osnola --- Regarding the documentation, "Inside Macintosh: Imaging With Quickdraw" has a lot of information about the Apple Pict format, but the information about the CompressedQuickTime opcode 8200 is not very useful. I assumed that this code only encapsulated basic QuickTime data, so we need to find some documentation on the QuickTime format, perhaps https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/QTFFPreface/qtffPreface.html . Note: - A long time ago, I added a .pct filter in libmwaw (which is disabled in LibreOffice, in fact writerperfect checks if libmwaw finds an apple image file, and if so, refuses to convert it). This filter allows to retrieve some 8200 data. You can look for ApplePictParser::readQuicktime in src/lib/ApplePictParser.cxx... -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 128309] Apple PICT: "Quicktime and a TIFF uncompressed decompressor are needed to see this picture"
https://bugs.documentfoundation.org/show_bug.cgi?id=128309 Julien Nabet changed: What|Removed |Added CC||serval2...@yahoo.fr --- Comment #5 from Julien Nabet --- osnola: indeed I built locally by adding extra log and got these opcodes: 1e 1 32 1f 8200 7 7 3 4 d 10 28 28 28 0 https://developer.apple.com/library/archive/documentation/mac/QuickDraw/QuickDraw-461.html provides some info and for 8200 $8200 CompressedQuickTime Data length (Long), data (private to QuickTime) 4 + data length but how to keep on then? I mean is there some more detailed specs about pict format? -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 128309] Apple PICT: "Quicktime and a TIFF uncompressed decompressor are needed to see this picture"
https://bugs.documentfoundation.org/show_bug.cgi?id=128309 osnola changed: What|Removed |Added Ever confirmed|0 |1 CC||alo...@loria.fr Summary|Opening Appleworks drawing: |Apple PICT: "Quicktime and |"Quicktime and a TIFF |a TIFF uncompressed |uncompressed decompressor |decompressor are needed to |are needed to see this |see this picture" |picture"| OS|Mac OS X (All) |All Status|UNCONFIRMED |NEW -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs