Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Masowa zmiana jakości zdjęć jpg
Fifi209
post
Post #1





Grupa: Zarejestrowani
Postów: 4 655
Pomógł: 556
Dołączył: 17.03.2009
Skąd: Katowice

Ostrzeżenie: (0%)
-----


Witam, od pewnego czasu zabierałem się za napisanie programu, który w łatwy sposób umożliwi mi masową zmianę jakości zdjęć.

Działać ma to tak:
Wybieramy katalog, wybieramy zdjęcia które nas interesują, klikamy pomniejsz i chwilkę czekamy.

Wielu ludzi nawet nie zdaje sobie sprawy, że nie trzeba zmienić rozmiaru zdjęcia, aby zajmowało mniej, wystarczy zapisać w troszkę gorszej jakości (praktycznie niezauważalne dla oka)

Szukałem narzędzia, które byłoby proste i spełniało dokładnie tą jedną funkcję - nie znalazłem.
Napisałem więc swój program, który Wam przedstawię.

Wersja: 1.5.0.0
Autor: Fifi209
Platforma: .NET Framework 4
Nazwa: ImageEditor
Link: http://fifi209.pl/ImageEditor.rar

Proszę o skromne opinie, ew. jakieś rady co zmienić/poprawić.

@edit
Link poprawiony, teraz powinno działać.

Ten post edytował Fifi209 23.06.2011, 12:20:35
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Cypherq
post
Post #2





Grupa: Zarejestrowani
Postów: 181
Pomógł: 9
Dołączył: 28.08.2006
Skąd: Katowice

Ostrzeżenie: (0%)
-----


Kod
PLATFORM VERSION INFO
    Windows             : 5.1.2600.196608 (Win32NT)
    Common Language Runtime     : 4.0.30319.225
    System.Deployment.dll         : 4.0.30319.1 (RTMRel.030319-0100)
    clr.dll             : 4.0.30319.225 (RTMGDR.030319-2200)
    dfdll.dll             : 4.0.30319.1 (RTMRel.030319-0100)
    dfshim.dll             : 4.0.31106.0 (Main.031106-0000)

SOURCES
    Deployment url            : file:///D:/download/ImageEditor.application

ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of D:\download\ImageEditor.application resulted in exception. Following failure messages were detected:
        + Downloading file:///D:/download/ImageEditor.application did not succeed.
        + Could not find file 'D:\download\ImageEditor.application'.
        + Could not find file 'D:\download\ImageEditor.application'.
        + Could not find file 'D:\download\ImageEditor.application'.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

WARNINGS
    There were no warnings during this operation.

OPERATION PROGRESS STATUS
    * [2011-06-23 11:59:28] : Activation of D:\download\ImageEditor.application has started.

ERROR DETAILS
    Following errors were detected during this operation.
    * [2011-06-23 11:59:33] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
        - Downloading file:///D:/download/ImageEditor.application did not succeed.
        - Source: System.Deployment
        - Stack trace:
            at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
            at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
            at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
            at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
            at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBy
pass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
            at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
            at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
            at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
        --- Inner Exception ---
        System.Net.WebException
        - Could not find file 'D:\download\ImageEditor.application'.
        - Source: System
        - Stack trace:
            at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
            at System.Net.FileWebRequest.GetResponse()
            at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
        --- Inner Exception ---
        System.Net.WebException
        - Could not find file 'D:\download\ImageEditor.application'.
        - Source: System
        - Stack trace:
            at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
            at System.Net.FileWebRequest.GetResponseCallback(Object state)
        --- Inner Exception ---
        System.IO.FileNotFoundException
        - Could not find file 'D:\download\ImageEditor.application'.
        - Source: mscorlib
        - Stack trace:
            at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
            at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
            at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
            at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
            at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)

COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 27.12.2025 - 00:54