يعد تحرير PSB عملية أكثر تعقيدًا من تحرير PSD بسبب الحجم الكبير. يدعم PSB صورة أكبر من 30000 × 30000 بكسل. المشكلة الرئيسية هي حجم ملفات PSB. لا يمكن دائمًا تحرير PSB عبر الإنترنت بسبب قيود حجم تحميل الملف. إذا كنت تريد استخدام الطاقة الكاملة لتحرير ملف PSB، يرجى التحقق من Aspose.PSD .net وحل جافا.
You can reproduce the main functionality of this built-in app using Aspose.PSD for .NET
// How to update Text Layer in PSB File
using (PsdImage psdImage = (PsdImage)Image.Load("layers.psb"))
{
foreach (var layer in psdImage.Layers)
{
if (layer is TextLayer)
{
TextLayer textLayer = layer as TextLayer;
textLayer.UpdateText("test update", new Point(0, 0), 15.0f, Color.Purple);
}
}
psdImage.Save("UpdateTextLayerInPSDFile_out.psb");
}
// Update Layer in PSB with Graphics
// Create an instance of Image
using (Image image = new PsdImage(100, 100))
{
// Create and initialize an instance of Graphics class and clear Graphics surface
Graphics graphic = new Graphics(image);
graphic.Clear(Color.Yellow);
// Draw an arc shape by specifying the Pen object having red black color and coordinates, height, width, start & end angles
int width = 100;
int height = 200;
int startAngle = 45;
int sweepAngle = 270;
// Draw arc to screen and save all changes.
graphic.DrawArc(new Pen(Color.Black), 0, 0, width, height, startAngle, sweepAngle);
// export image to bmp file format.
image.Save(outpath, saveOptions);
}
You can download Aspose.PSD for .NET from Nuget package manager
You can reproduce the main functionality of this built-in app using Aspose.PSD for Java
public static void updateTextLayer() {
try (PsdImage psdImage = (PsdImage) Image.load("layers.psb")) {
for (com.aspose.psd.Layers.ILayer layer : psdImage.getLayers()) {
if (layer instanceof TextLayer) {
TextLayer textLayer = (TextLayer) layer;
textLayer.updateText("test update", new Point(0, 0), 15.0f, Color.getPurple());
}
}
psdImage.save("UpdateTextLayerInPSDFile_out.psb");
}
}
public static void updateLayerWithGraphics() {
try (Image image = new PsdImage(100, 100)) {
Graphics graphic = new Graphics(image);
graphic.clear(Color.getYellow());
int width = 100;
int height = 200;
int startAngle = 45;
int sweepAngle = 270;
graphic.drawArc(new Pen(Color.getBlack()), 0, 0, width, height, startAngle, sweepAngle);
image.save(outpath, saveOptions);
}
}
You can download Aspose.PSD for Java from Aspose Repository
Check the following list of documentation links:
Please check the offical documentation https://docs.aspose.com/psd/
This App is completely free, but it just a small piece of functionality that offers for you Aspose.PSD library. You can make your own app with any functionality of Aspose.PSD. If you can not find needed feature in Aspose.PSD, you can post on PSD Support Forum. The great support, different priceing plans, prioritized bug fixes and feature releasing for the Paid Support Customers.
List of Aspose.PSD versions for different configurations |
Aspose.PSD for .NET | Aspose.PSD for Java |
 |  |
Aspose.PSD for .NET has the version for the most popular .NET versions including: .NET Framework 2, 3.5, 4.0, 4.0CP, .netstandard 2, .NET 5, 6, 7. Version of .NET Library for .NET 7 is suitable for the mobile development | Aspose.PSD for Java made on the Java 1.6, so it can be used in the any popular Java configurations. It's suitable for Cross-platform developement |
Official Aspose.PSD for .NET page | Official Aspose.PSD for Java page |
Aspose.PSD for .NET Pricing plans | Aspose.PSD for Java Pricing plans |
Please check the support forum. Where you can feel the real customer care |
يقوم محرر PSB بمعالجة الملفات على الخادم. لتحرير ملفات PSB، اطلب محرر Aspose.PSD أولاً تحميل ملف PSB ثم قم بتسلسله وتوفير واجهة مستخدم لتحرير ملف PSB الذي تم تحميله. يمكن تنزيل النتيجة النهائية لتحرير PSB بتنسيقات مختلفة. عندما تقوم بتحرير ملفات PSB، تكون لديك العملية مثل تحديث النص والرسم بالفرشاة وإعادة الترتيب وتغيير رؤية الطبقات. يمكن إجراء التعديل من أي جهاز ونظام تشغيل باستخدام متصفح فقط. قم بتحرير ملف PSB حيث تريد أو تستخدمه واجهة برمجة تطبيقات عالية الكود وقم بإنشاء محرر PSB الخاص بك