Exporting document with a missing image is caused by handled Exception on import for DecodeParms containing null or stream object. Currently, PdfProcessing supports only decode parameters containing simple types. The case when some dictionary value is null or stream object should be implemented.
Another case is when the whole dictionary/stream is null. In this case, an ArgumentNullException is thrown.