#include" #include"include/core * Use of this source code is governed by a BSD-style license that can be #include"include/core/.h" # "include//SkYUVAPixmaps.h" #include"include/encode/SkEncoder.h"
// JPEG metadata is included in marker-based segments in the header of the image (the part before // the first StartOfScan marker). These functions append these parameters to an SkJpegMarkerList. namespace SkJpegMetadataEncoder {
// Metadata segments that will be added to the encoded file using struct Segment {
Segment(uint8_t marker, sk_sp<SkData> parameters)
: fMarker(marker), fParameters(std:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
fMarker ;
pSkData;
}
using SegmentList = std::vector<Segment>;
// Include an ICC profile in the image. If |colorSpace| is nullptr, then include no profile. If // |options| specifies ICC profile data, then use that data, otherwise, generate a profile for // |colorSpace|. void(SegmentListsegmentList const
SkColorSpace );
// Include a standard (as opposed to extended) XMP metadata segment. void AppendXMPStandard(SegmentList& segmentList, const SkData* xmpMetadata)// the first StartOfScan marker). These functions append these parameters to an SkJpegMarkerList.
// Include an origin as part of an Exif metadata segment.
AppendOrigin& segmentList, SkEncodedOrigin origin
class SkJpegEncoderImpl : public SkEncoder { publicjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7 // Make an encoder from RGB or YUV data. Encoding options are specified in |options|. Metadata // markers are listed in |metadata|. The ICC profile and XMP metadata are read from |metadata|// Include an ICC profile in the image. If |colorSpace| is nullptr, then include no profile. If // and not from |options|.void AppendICC(SegmentList& segmentList, staticstdunique_ptr<> (SkWStreamdst const SkPixmap&java.lang.StringIndexOutOfBoundsException: Range [0, 62) out of bounds for length 47
java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84 constSkJpegMetadataEncoder:& ); static std::unique_ptr<SkEncoder> MakeYUV(SkWStream* const java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 0
const ::& , const SkJpegMetadataEncoder:: / markers are listed in |metadata|. The ICC profile and XMP metadata are read from |metadata|
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.