No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LoadContext.cs 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Photoshop PSD FileType Plugin for Paint.NET
  4. // http://psdplugin.codeplex.com/
  5. //
  6. // This software is provided under the MIT License:
  7. // Copyright (c) 2006-2007 Frank Blumenberg
  8. // Copyright (c) 2010-2016 Tao Yue
  9. //
  10. // Portions of this file are provided under the BSD 3-clause License:
  11. // Copyright (c) 2006, Jonas Beckeman
  12. //
  13. // See LICENSE.txt for complete licensing and attribution information.
  14. //
  15. /////////////////////////////////////////////////////////////////////////////////
  16. using System;
  17. using System.Collections.Generic;
  18. using System.Linq;
  19. using System.Text;
  20. namespace PhotoshopFile
  21. {
  22. /// <summary>
  23. /// Contains settings and callbacks that affect the loading of a PSD file.
  24. /// </summary>
  25. internal class LoadContext
  26. {
  27. public Encoding Encoding { get; set; }
  28. public LoadContext()
  29. {
  30. Encoding = Encoding.Default;
  31. }
  32. public virtual void OnLoadLayersHeader(PsdFile psdFile)
  33. {
  34. }
  35. public virtual void OnLoadLayerHeader(Layer layer)
  36. {
  37. }
  38. }
  39. }