Tiff tag methods.
예제 #1
0
        private Tiff()
        {
            m_clientdata       = 0;
            m_postDecodeMethod = PostDecodeMethodType.pdmNone;

            setupBuiltInCodecs();

            m_defaultTagMethods = new TiffTagMethods();

            if (m_errorHandler == null)
            {
                // user did not setup custom handler.
                // install default
                m_errorHandler = new TiffErrorHandler();
            }
        }
예제 #2
0
        /// <summary>
        /// Sets the new tag methods to use.
        /// </summary>
        /// <param name="methods">Tag methods.</param>
        /// <returns>The previously used tag methods.</returns>
        public TiffTagMethods SetTagMethods(TiffTagMethods methods)
        {
            TiffTagMethods prevTagMethods = m_tagmethods;

            if (methods != null)
                m_tagmethods = methods;

            return prevTagMethods;
        }