Windows clipboard
From Just Solve the File Format Problem
(Difference between revisions)
Dan Tobias (Talk | contribs) m |
Dexvertbot (Talk | contribs) m (Change telparia.com samples link to template) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
|extensions={{ext|clp}} | |extensions={{ext|clp}} | ||
}} | }} | ||
− | The '''Windows clipboard''' holds data being temporarily copied/cut and pasted within programs running under the Microsoft [[Windows]] operating system. There are various sub-formats of it to handle different sorts of text, graphical, and other data. While this is usually just held in memory, sometimes it may be saved in files with a .clp extension. | + | The '''Windows clipboard''' holds data being temporarily copied/cut and pasted within programs running under the Microsoft [[Windows]] operating system. There are various sub-formats of it to handle different sorts of text, graphical, and other data. While this is usually just held in memory, sometimes it may be saved in files with a '''.clp''' extension. |
+ | |||
+ | == Identification == | ||
+ | .clp files begin with a 2-byte signature. Known signatures: | ||
+ | * {{magic|0x50 0xc3}} (Windows 3.1) | ||
+ | * {{magic|0x51 0xc3}} (NT) | ||
+ | * {{magic|0x52 0xc3}} ("BK") | ||
+ | |||
+ | == Specifications == | ||
+ | Documentation of the .clp file format is lacking, but [https://reactos.org/ ReactOS] is open source, and appears to support at least one version of the standard format (WriteClipboardFile() in [https://github.com/reactos/reactos/blob/master/base/applications/clipbrd/fileutils.c clipbrd/fileutils.c]). | ||
+ | |||
+ | == Software == | ||
+ | For .clp files: | ||
+ | * Clipboard Viewer / ClipBook Viewer - Included with Microsoft Windows prior to Vista. | ||
+ | * [[XnView]] - Can read graphical files. | ||
+ | * [https://www.irfanview.com/ IrfanView] - Can read graphical files. | ||
+ | * {{Deark}} | ||
+ | |||
+ | == Sample files == | ||
+ | * {{CdTextfiles|ccbwindows93/VIEWERS/PGACLP.ZIP|PGACLP.ZIP}} | ||
+ | * {{DexvertSamples|image/windowsClipboard}} | ||
== Links == | == Links == | ||
* [https://msdn.microsoft.com/en-us/library/windows/desktop/ff729168%28v=vs.85%29.aspx Standard Clipboard Formats] | * [https://msdn.microsoft.com/en-us/library/windows/desktop/ff729168%28v=vs.85%29.aspx Standard Clipboard Formats] | ||
− | * [ | + | * [https://stackoverflow.com/questions/998655/how-can-i-get-an-image-out-of-the-clipboard-without-losing-the-alpha-channel-in How can I get an image out of the clipboard without losing the alpha channel in .NET?] |
− | * [ | + | * [https://stackoverflow.com/questions/7045264/how-do-i-read-a-jpg-or-png-from-the-windows-clipboard-in-python-and-vice-versa How do I read a jpg or png from the windows clipboard in python and vice versa?] |
* [http://search.cpan.org/~jdb/Win32-Clipboard-0.58/Clipboard.pm Win32::Clipboard Perl module] | * [http://search.cpan.org/~jdb/Win32-Clipboard-0.58/Clipboard.pm Win32::Clipboard Perl module] | ||
[[Category:Microsoft]] | [[Category:Microsoft]] | ||
+ | [[Category:Windows]] | ||
[[Category:Graphics]] | [[Category:Graphics]] |
Latest revision as of 02:56, 28 December 2023
The Windows clipboard holds data being temporarily copied/cut and pasted within programs running under the Microsoft Windows operating system. There are various sub-formats of it to handle different sorts of text, graphical, and other data. While this is usually just held in memory, sometimes it may be saved in files with a .clp extension.
Contents[hide] |
[edit] Identification
.clp files begin with a 2-byte signature. Known signatures:
-
0x50 0xc3
(Windows 3.1) -
0x51 0xc3
(NT) -
0x52 0xc3
("BK")
[edit] Specifications
Documentation of the .clp file format is lacking, but ReactOS is open source, and appears to support at least one version of the standard format (WriteClipboardFile() in clipbrd/fileutils.c).
[edit] Software
For .clp files:
- Clipboard Viewer / ClipBook Viewer - Included with Microsoft Windows prior to Vista.
- XnView - Can read graphical files.
- IrfanView - Can read graphical files.
- Deark