.SDG

SDG File

StarOffice Gallery Image File
Ask a question
QUICK ANSWER

An SDG file is a proprietary image gallery file from StarOffice, a Sun Microsystems office suite discontinued in 2011. It stores clipart and other images used in the application's Gallery panel. Modern software cannot reliably open .sdg files - your best option is an old version of OpenOffice.org.

Developer: Sun Microsystems (StarOffice); Oracle Corporation (later owner) Category: Raster Image Files MIME: application/octet-stream
OPENS ON Windows Linux
Related: .JPG · .PNG · .TIF · .ECW

On this page

19k+ extensions indexed
Last reviewed Jul 8, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the SDG file format?

.sdg is a proprietary binary container used by the StarOffice Gallery feature to store clipart and image objects. It is always accompanied by two sibling files sharing the same base name: an .sdv file (which uses the Microsoft Compound File Binary Format to store the gallery index and metadata) and a .thm file (which stores thumbnail previews). All three files together form one complete gallery entry.

Each .sdg file may contain multiple image objects - both raster and vector - with each object prefixed by the ASCII marker SGA3, indicating StarOffice Gallery format version 3 or 4. Raster content is stored at up to 24-bit color depth; vector objects are resolution-independent.

The format was introduced as part of the Gallery feature shipped with StarOffice by Sun Microsystems before 2000 and carried forward into early OpenOffice.org releases. By the OpenOffice.org 2.x era the .sdg/.sdv/.thm trio was replaced by a modern XML-based gallery format, making the old format effectively obsolete. StarOffice was discontinued by Oracle around 2011.

No major modern imaging application documents support for .sdg. Users who still hold legacy StarOffice gallery data should try to open files in an old version of OpenOffice.org or LibreOffice and export content to PNG or another current format before the original software becomes inaccessible.

Security & safety

RISK: LOW

SDG is a passive image data file that cannot execute. Risk is negligible - it's an obsolete image container from a discontinued product.

Format details

in a nutshell
FULL NAMEStarOffice Gallery Image Fileaka StarOffice Gallery format, OpenOffice Gallery image
DEVELOPERSun Microsystems (StarOffice); Oracle Corporation (later owner)since ~1990s (StarOffice Gallery versions 1-4, pre-2000)
MIME TYPEapplication/octet-stream
TYPEProprietary binary gallery/clipart image container (vector and raster)

Programs that open SDG files

Windows2 apps
XnView Free XnView claims SDG support but real-world support is uncertain; try opening the .sdg directly.
StarOffice (OpenOffice.org, old version) Open-source Old OpenOffice.org versions (1.x/2.x) can read the Gallery. Place .sdg/.sdv/.thm together; open via Tools > Gallery. Apache OpenOffice 4.x may partially support it.
Linux1 app
LibreOffice (limited) Open-source LibreOffice dropped native SDG gallery support; may partially open old galleries via Tools > Gallery if .sdv/.thm are alongside the .sdg.

Technical details

deep spec
Format typeProprietary binary multi-object gallery/clipart container
File setAlways paired with same-base-name `.sdv` (gallery index, Microsoft Compound File Binary) and `.thm` (thumbnails)
Object signatureEach embedded image object prefixed with ASCII marker `SGA3` (Gallery format version 3/4 identifier)
Content typesRaster images (up to 24-bit color) and resolution-independent vector objects
Byte orderLittle-endian
CompressionNone documented; image data stored uncompressed per object
Typical file size10 KB - several MB depending on number and complexity of gallery images
Gallery versionsFormat versions 1-4 known; version 4 identified by `SGA3` object marker
Associated OSWindows, Linux, macOS (via StarOffice and OpenOffice.org)
EncodingBinary
Superseded byXML-based gallery format introduced in OpenOffice.org 3.x / LibreOffice (directory of individual image files + XML index)
Released~1990s (StarOffice Gallery versions 1-4, pre-2000)
Latest versionStarOffice Gallery format version 4 (last known; obsolete as of OpenOffice.org 2.x era)
Specificationmailman.astron.com

SDG conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with SDG files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about SDG files.

Frequently asked questions

What program opens .sdg files?
The original StarOffice or old OpenOffice.org (1.x/2.x). Modern alternatives are very limited - LibreOffice dropped full SDG Gallery support. XnView may partially read the files.
Is StarOffice still available?
Oracle discontinued StarOffice in 2011. The open-source successor is LibreOffice (https://www.libreoffice.org) or Apache OpenOffice (https://www.openoffice.org), but neither fully supports the old .sdg format.
What are the .sdv and .thm files next to my .sdg?
.sdg (image data), .sdv (gallery index), and .thm (thumbnails) are always a triplet - all three files are required and share the same base name. Do not move or rename them separately.

References

1StarOffice Gallery - Just Solve the File Format Problemjustsolve.archiveteam.org
2file magic patch for SDG/SDV (May 2020)mailman.astron.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.PARTPartial Download File
4.MDMarkdown Document
5.RPMSGRestricted Permission Message
6.CRDOWNLOADChrome Partial Download File
7.NOMEDIAAndroid No-Media Marker File
8.PRDXSoftMaker Presentations Document
9.PRO6XProPresenter 6 Bundle File
10.SWFSmall Web Format (Shockwave Flash)

Related extensions

.JPGJPEG Image
.PNGPortable Network Graphics
.TIFTagged Image File Format
.ECWEnhanced Compression Wavelet (ECW) image
.AVIFAV1 Image File Format (AVIF)
.JP2JPEG 2000 Image (ISO/IEC 15444-1)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z